-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Clarification] Why is there no volume data in the json response? #447
Comments
Hi @MyGithubNotYours , Thanks for taking a look! I don't think the difference is between using
, we would get the same number of fields in both responses. The main difference is in the frequency that was specified, volume is just provided when the frequency is daily or greater. For more information about available fields for each sampling frequency, you may want to contact the support email here directly: https://api.tiingo.com/products/end-of-day-stock-price-data |
To clarify, this is actually based on the Tiingo response. It seems that Tiingo has decided not to include volume in the response unless specifically requested because Tiingo is using ONLY the IEX market center data intraday which represents a modicum of trades placed/filled throughout the day (2 to 3%) such that volume will appear VERY LOW and may be misleading to someone unacquainted with the difference there. However, due to arbitrage, prices should be quite close to actual market prices across many market centers. |
I'm not using this library, just GET requests, and sorry to necro the thread here, but doesn't this screw up a bunch of the technical indicator calculations if sometimes we use correct volumes and other times we use iex volumes? plus seems like tiingo intraday volumes even as recent as 2018 are patchy, you'll find huge swaths of data with no volume whatsoever. That's a real problem during extended bull markets if you literally can't get intraday data in a bear market because it's too distant. I noticed YF has volume data intraday, great, but it's only available for 730 days, so if we always scrape via offset, then when we stop and restart our app, we scrape a different timespan each time, that's not reproducible. Yeah, I do insert the candles into a sql table, but it seems sketchy to not be able to refetch histories easily if there's a problem with the database. how do you guys work around these various issues with the tiingo volume data being limited to iex? are there any good alternatives out there? just buy a historical csv file? |
Hey @bionicles So IEX became an official exchange around end of 2016, we started collecting enough volume data around 2018. We are working on backfilling data prior to then, but another reason you may find 0-volume bars is because we use the
https://www.tiingo.com/documentation/iex Tiingo IEX intraday data is fantastic from a licensing perspective, requiring us to keep minimal, if any, information about clients, and requiring us to pass $0 license fees. The downside is that it's 2-3% market share (NYSE/NASDAQ are around 14-19% each in comparison - most liquidity happens on dark pools). This is why we use tngoLast to keep prices updating fluidly and represent overall market, even if trades happen less frequently on the exchange. This is why our 1 minute intraday bars can look like this: But if you need full-volume this solution can be difficult. I think you will need to contact a tick data service to get full-volume bars. These are generally expensive and have strict licensing requirements that make it difficult to redistribute, or sell, as a business, but they may be more friendly toward an individual for personal use - although cost may still be a barrier to entry. Unsure. But this is why we use the IEX Exchange, for references prices it can be absolutely fantastic, but for high-frequency trading, it most likely will not suit your needs. |
Description
I want to download the intraday open, close, high, low, volume data for a stock, but I don't see the volume data.
What I Did
I ran
Here is the output (in the form of json not a pandas dataframe):
I don't see any volume data in the return. However, when I use the daily command:
I get the volume data (as well as other additional info different from the intraday data).
What am I doing wrong?
.. and thanks for a very useful package so far!
The text was updated successfully, but these errors were encountered: