postbil.com Posted May 14, 2011 Share Posted May 14, 2011 Hello Is there anyone here who can answer me if it is possible to get stock prices into a php script? to use the rate constant feedback to a stock market game. I hope someone can help .. Postbil.com Quote Link to comment https://forums.phpfreaks.com/topic/236431-stock-prices-into-a-php-script/ Share on other sites More sharing options...
HDFilmMaker2112 Posted May 14, 2011 Share Posted May 14, 2011 Do you mean you're looking to put live stock quotes into a php-based stock market game? And you're asking how to get those stock prices? If so, you're looking at needing to contact the NYSE and NASDAQ (or other markets)... You'll probably have to pay a fee for live streaming quotes from each market, and then figure out how to ingest them into the php script, from what ever format they give you. Quote Link to comment https://forums.phpfreaks.com/topic/236431-stock-prices-into-a-php-script/#findComment-1215528 Share on other sites More sharing options...
jcbones Posted May 14, 2011 Share Posted May 14, 2011 Stocks are all about the money, so you have to pay to play. Provides XML data of stock prices -> I am not affiliated with them, nor have I used their products Quote Link to comment https://forums.phpfreaks.com/topic/236431-stock-prices-into-a-php-script/#findComment-1215530 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.