Skip to content

This PHP script uses site scraping techniques to return stock price data from online reporting sources. This was created to help indy app developers write code to analyze stock price movements in order to perform and learn other interesting things from the financial markets.

Notifications You must be signed in to change notification settings

a24ibrah/Real-time-Stock-Price-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

This simple PHP script uses site scraping techniques to get stock price data from online data providers.

Contributors are welcome to fork this project using new source sites and innovative scraping techniques. Any useful code from forked projects which accelerates the real-time data return of this script will be added to each update of this project.

Instructions:

Add this script to your server.

Simply pass in a RESTful GET request to this script with one variable: ticker.
e.g. yoursite.com/index.php?ticker=IBM

You will get a JSON return of the stock price.

If you receive an error, you either sent an invalid ticker symbol or all source sites from this script restructured their sites. You may need to update the PHP script ([email protected]:m140v/Real-time-Stock-Price-API.git) 

Updated sources are welcome.

About

This PHP script uses site scraping techniques to return stock price data from online reporting sources. This was created to help indy app developers write code to analyze stock price movements in order to perform and learn other interesting things from the financial markets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published