Yes, I know it's been asked 17 million times. The problem is, there are 58 million answers and the vast majority of them are sarcastic, rhetorical, or a simple "try this platform" without explanation of why.
I'm mostly just wanting an API that integrates well with Python that provides as real-time information as possible for a single stock symbol at a time. I believe my current usage is somewhere around 100 call/min IF I happen to be holding a stock. My calls per day is significantly lighter. I would prefer a free version, but I wouldn't mind paying a little bit if it was significantly more consistent and up to date.
Here are some that I have tried and problems I've had with them:
- yFinance seems to be delayed a little bit, but there's another weird thing going on. I've run 2 functionally identical programs side-by-side and one of them will start pulling the new price a good 20+ seconds before the other one, which is kinda a lot!
-Alpaca (free) seems to update slower than yFinance, which is odd given what I've been able to find with a google search. It also held the 'current price' at the Open of the minute that a particular stock was halted and not the Last (or Close) price when the halt was initiated. It also didn't update until 30s after trading was resumed.
Again, I'm not particularly opposed to paying a bit for 'live' data IF that data is truly "real-time" (meaning within the last couple seconds) (Alpaca does not) and returns the properly updated value with each API call (yFinance does not).
yFinance price changes are underlined in red. Both programs were running on the same machine in parallel and made a new API call every time it wrote to the logs. Timestamps are in Central time.For an individual user - will be querying the api for a few thousand stocks every few mins. I want real-time rather than 15 min delayed ideally. Looking for balance of reliability / accuracy and cost. Thanks!
EDIT: Financial modelling prep, tiingo and iexcloud are looking like good options. Anyone tried more than one and have a view on these compared with each other? Am I missing anything?
Videos
Hello!
I am looking for a real time stock API.
id prefer if there is a free version available for developing/testing but I am willing to pay for larger amounts of requests as long as its not too expensive.
Any ideas?
I found a handful of APIs but none of them has the real time functionality. I have tried alphavantage, 12 data and financial modeling prep
Edit: After a Deep research I found this golden list (mostly free)
-https://api.tiingo.com/
-https://alpaca.markets/docs/api-references/market-data-api/stock-pricing-data/realtime/#updated-bars-updatedbars
-https://api.tiingo.com/documentation/websockets/iex
-https://moon.finage.co.uk/user/subscription/api
-https://github.com/polygon-io/client-python
-https://www.barchart.com/ondemand/api/getQuote
-https://iexcloud.io/docs/api/#real-time-quote
What’s your go-to API for real-time stock data? Are you using Alpha Vantage, Polygon, Alpaca, or something else entirely? Share your experience with features like data accuracy, latency, and cost. For those relying on multiple APIs, how do you integrate them efficiently? Let’s discuss the best options for algorithmic trading and how these APIs impact your trading strategies.
I'm trying to build an algorithm which is based on real time data, so I will need to use websockets. So I've googled quite a lot about different services out there, including reddit posts from r/algotrading (but they are all quite old already), and I know that there are Alpaca, Polygon, IQFeed, Interactive Brokers, TD Ameritrade. I've tried Alpaca so far, their market data overall seems different from what I see in, for example, Thinkorswim, or Tradingview(for the sake of comparison). Can't quite compare their streaming data as I haven't used anything else yet. I know there must be people out here who are using either one of the services I outlined above. Any feedback or recommendation?
I'm looking for APIs that provide real-time stock data including volume and detailed metrics. I also need access to fundamental reports for companies (like earnings, balance sheets, etc.).Additionally, it would be great if the API offers the ability to categorize companies based on their industry. Yeah real time stock data doesnt comes without paying i'm ready to buy the paid api's too
Looking for an API that provides real-time stock quotes. I have tried IEX, but it seems their realtime quote is based only on the trades on their exchange.
Any suggestions?