Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
reqHistoricalData - Stock Tickers
Do we have to use our own stock lists to pass to?reqHistoricalData? OR would TWS API provide interface to insert all the stocks from an exchange?
For example, I would like to get Historical Data? for all NASDAQ stocks with the help from?reqHistoricalData function. Currently I am including all the symbols from my NASDAQ symbol list.? However I would prefer to use directly from interfaces, so that I wont miss any symbols. Please suggest.? |
We had this question not long ago and if I'm right there are no lists for all stocks from a respective exchange. You might try using the market scanner to scan for stocks with certain properties.
Then there are lists on IB's website with all tradable stocks and you can copy/paste those lists to a spreadsheet and read this into your programming environment (this is what I'm going). |
Thank you. I explored Market scanner, however it limits up to only 50 stocks.? I am currently taking from?ftp://ftp.nasdaqtrader.com/symboldirectory, however there are more ambiguous entries. ?? On Sun, 9 Feb 2020 at 08:48, Despair <boris@...> wrote: We had this question not long ago and if I'm right there are no lists for all stocks from a respective exchange. You might try using the market scanner to scan for stocks with certain properties. --
Cheers, Robinson ? |
Thanks, just the downside is that it takes almost 3 hours to just run NASDAQ stocks with?reqHistoricalData I require for different time frames such as monthly, weekly and daily time frames. The hours would add up if I add NYSE and LSE on top. IB should come up with some innovative interface to overcome?this limitation. ? --
Cheers, Robinson ? |
Robinson: would you mind pasting the code you use to download monthly historical data using reqHistoricalData? The smaller the amount of code to read basic data, the better. I was thinking about using IB (vs. Yahoo finance) but your answer re: the time to download is discouraging - so I don't want to reinvent the wheel in case this turns out to be useless. Thanks.
|
Nick
¿ªÔÆÌåÓýIB is a broker and supplies data for 'typical' retail use. If you
have needs beyond what IB provides then you'll have to find a
dedicated data provider that has what you need. On 2/9/2020 8:02 AM, Robbo wrote:
|
It is not worth using IB for historical data for a large number of symbols if you want to do backtesting analysis, unless you are trying to use some unusual international exchanges where the historical data is not easily available. It's much easier to buy US equities data from a historical data provider.?
|
Thanks Adam. Could you please suggest a historical?data provider?? Yes I agree, I am facing lots of issues if I wish to develop?a strategy with the help from reqHistoricalData. I require close, open and low prices for NASDAQ, NYSE and LSE stocks, so that I can compute and screen On Sun, 9 Feb 2020 at 15:55, Adam <arahbee@...> wrote: It is not worth using IB for historical data for a large number of symbols if you want to do backtesting analysis, unless you are trying to use some unusual international exchanges where the historical data is not easily available. It's much easier to buy US equities data from a historical data provider.? --
Cheers, Robinson ? |
I am still trying to get some sense from this?
reqHistoricalData. Sure I shall as soon as I have some sensible data getting populated using IB. At this stage I do not recommend IB. I do not know about Yahoo Finance. need to explore.? On Sun, 9 Feb 2020 at 14:15, Rational-IM <ds@...> wrote: Robinson: would you mind pasting the code you use to download monthly historical data using reqHistoricalData? The smaller the amount of code to read basic data, the better. I was thinking about using IB (vs. Yahoo finance) but your answer re: the time to download is discouraging - so I don't want to reinvent the wheel in case this turns out to be useless. Thanks. --
Cheers, Robinson ? |
Nick
¿ªÔÆÌåÓýTo be clear, reqHistoricalData works - within the context of what
data IB provides. It may be that you need more data than IB
provides or need it faster, but to make a blanket statement that
IB's historical doesn't work just is not the case. On 2/9/2020 3:42 PM, Robbo wrote:
|
Jacky
I take over 1k end of day quotes from yahoo. There is a yahoo finance library/api that can be used from .net.
toggle quoted message
Show quoted text
Sent from ProtonMail mobile -------- Original Message -------- On Feb 9, 2020, 9:41 PM, Robbo < hairobinson@...> wrote:
|
to navigate to use esc to dismiss