IQFeed doesn't restrict the number of stocks. If you pay for it, you'll get everything you want.
- IQFeed restricts the amount of stocks that can be streamed so I would have to choose a subset of stocks that are most likely to pop up in my scanner
IQFeed doesn't restrict the number of stocks. If you pay for it, you'll get everything you want.
- IQFeed restricts the amount of stocks that can be streamed so I would have to choose a subset of stocks that are most likely to pop up in my scanner
I have a stock trading strategy in mind which I would like to backtest and trade.
This proves to be rather difficult as I need to scan the entire stock market for a pattern on 1 min bars in real time.
Regarding the backtest it seems equally difficult to find the proper approach as a realistic backtest would cover the next smaller timeframe like seconds or ticks.
Has anyone tried something like this?
Is there any software capable enough so it wouldn't need to be coded entirely from scratch?
Here is what I found out so far:
real time trading:
- Multicharts could be capable
- polygon provides real time data but it doesn't seem like multicharts is working with them
- IQFeed restricts the amount of stocks that can be streamed so I would have to choose a subset of stocks that are most likely to pop up in my scanner
backtesting:
- polygon seems to have all the historic data - including one seconds bars - I need but it doesn't seem like multicharts is working with them
- IQFeed has very little data < 1min but enough data going back years on the one minute level + IQFeed has a great reputation
- it would be huge amount of data i.e. I would have to backtest a subset of the market e.g. 2000 stocks and probably test those stocks over a month and then backtest the next month and so on...
Has anyone here ever tried something remotely similar?
I do have quite restrictive filters so the approach would only trade about 5-10 stocks a day.
Can't tell whether that is still way too demanding for the backtesting software or the data provider. Would a backtest like that crash the software?
Feedback very much appreciated if you have ever done something remotely similar especially regarding the backtesting process.
it's a backtest so it doesn't need to be in realtime. dump the data into https://questdb.io/ and write a query. should be simpleI have a stock trading strategy in mind which I would like to backtest and trade.
This proves to be rather difficult as I need to scan the entire stock market for a pattern on 1 min bars in real time.
Regarding the backtest it seems equally difficult to find the proper approach as a realistic backtest would cover the next smaller timeframe like seconds or ticks.
Has anyone tried something like this?
Is there any software capable enough so it wouldn't need to be coded entirely from scratch?
IMO that is exactly what you should want to do.....
@SunTrader: Correct. I simply didn't think I would have to restrict myself...
The US stock market but "only" Nasdaq stocks would be fine as well...
You can totally do this. 1-min bars on all exchange traded stocks is not a lot of data. I've tested algos on that for years using a very moderate Dell server running Linux. You can also do 1-sec bars and tic data. It's a bunch of data but entirely doable for a server you will spend less than $5,000 on.
There's one bullet point to stop at.
Your search for a data feed in realtime will be useful for live trading, but since you want to run a backtest first, you can do it without any problem. You don't need a data feed for a backtest.
- Backtest vs Realtime.
You can store datasets locally and run your backtest on them, like FreeGoldRush said.
Another point that I am also thinking about is the processing time of those 2500 symbols in a minute. Since your time frame to act is one minute, you will need to be sure that your code can search for patterns within those stocks in that minute. As it would happen in realtime. That to me would be a lot more critical than to look for a data feed in the first place. Processing those many stocks can take longer than a minute, easily.