![]() |
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Certified NinjaScript Consultant
|
I'm trying to backtest a strategy on a 10000 Volume chart of ES. Is it possible to get about 1 year of a continuous contract to do this? I love Ninja Trader, but backtesting volume charts hasn't worked at all for me. I can never do more than 3 weeks at a time. For this reason, I'm signing up for a TradeStation account until this can be improved. Any suggustions?
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
You would have to make continuous contracts using the merge feature however, volume bars are made up of tick data, backtesting 1 year of tick data will likely cause you to run into memory limitations.
More information on merging - http://www.ninjatrader-support.com/H...eV6/Merge.html
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
|
Ray,
Do you believe there should be a difference in memory consumption (and running out of it) depending on which data provider is used? I noticed, for instance, that Zen Fire seemed to be much more efficient than IQfeed. I wondered if it was due to the nature of how NT was accessing the data. |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
To clarify:
- if you mean download speed by "efficient", then yes, the down speed for historical data varies from provider to provider. As soon as the data is pulled from the provider and stored in your local hard drive, then it would not matter where the data actually came from. - if you mean memory consumption on backtest, then this only is dependent on the actual number of ticks backtested. If would not matter where the ticks came from (= no dependency on provider)
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
|
No I really meant efficient as in the amount of time and memory (resources) NT takes to process the request. It seems both Zen and IQfeed max out my DSL connection of approx 700kb/sec, so I do not think one is transmitting data faster than the other.
I thought perhaps the external IQfeed app, vs the internal Zen, made a difference. You are saying no? |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
I didn't review this entire thread but have you reviewed this link: http://www.ninjatrader-support.com/H...anceTips1.html
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Quote:
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
|
#8 | |
|
Senior Member
Join Date: Dec 2006
Location: Seattle, Washington, USA
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
The download speed is specific to the data provider. NinjaTrader does not control nor determine the speed of the data download. |
|
|
|
|
|
|
#9 | |
|
Senior Member
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
|
Quote:
I've been using Zen a while longer now, and can say without a doubt it is much, much faster than IQfeed when it comes to chart-loading and backtesting. Again, both providers maxed my internet connection. Yet one was much, much faster than the other. So this means the way NinjaTrader handled the data (due to external API vs. internal, etc), or the type of data transferred, was significantly different from one to the other. I don't care about the specifics, I just care about the results. |
|
|
|
|
|
|
#10 | ||
|
Senior Member
Join Date: Dec 2006
Location: Seattle, Washington, USA
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
You're arguing that NinjaTrader is handling zen-fire's data feed more efficiently than IQFeed's data feed. I'm arguing the zen-fire's datafeed itself is more efficient. It would be more accurate if you were to say that, "Zen-fire's data feed appears to be more efficient than IQFeed's data feed". Quote:
NinjaTrader is agnostic with data providers. There's no "external API vs internal API". Each and every data provider has their own API. In the same way, NinjaTrader is agnostic with executing orders. Zen-fire, Trading Technologies, Patsystem, MB Trading, etc. each have their own API for executing orders. There's no "external API vs internal API" for executing orders. If someone were to discover that Zen-fire's execution engine is faster than it is simply faster because Zen-fire's execution engine is more efficient and nothing to do with NinjaTrader. |
||
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
|
I am not arguing with your point of which data feed is more efficient. My original question was intended to raise exactly that. I do not agree on all things you've said, but it is not relevant to the thread.
NinjaTrader support seems to not know enough about it to answer or explain results. That is the main source of disappointment. I find it hard to believe they have not drawn any conclusions on the efficiency of one provider vs. another with their program (again, regardless of where the efficiency differs, I am simply interested in the end result -- efficiency ie faster results or ie less resources [which means less NT crashing]). Case in point, I was never able to load 2 months of tick data for backtesting with IQfeed. I have been able to do it with Zen before NT crashed. There are so many memory leaks and issues with Ninja that it only works rarely, but the most I ever got out of IQfeed was around 2 weeks if I recall correctly, so that is a huge increase in efficiency. |
|
|
|
|
|
#12 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> Case in point, I was never able to load 2 months of tick data for backtesting with IQfeed. I have been able to do it with Zen before NT crashed. There are so many memory leaks and issues with Ninja that it only works rarely, but the most I ever got out of IQfeed was around 2 weeks if I recall correctly, so that is a huge increase in efficiency.
Please contact IQFeed support to clarify how far back they would have historical tick data available (I believe 2 weeks, but I'm not sure). NT does not control that.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#13 | |
|
Senior Member
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
|
Quote:
It is fine, I don't have time to keep going back and forth. I no longer have IQfeed. I also now realize it is futile to expect NT 6.5 to not crash or for NT support to fix anything, I am just waiting for NT 7 --- hopefully it will fix everything. |
|
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
From the IQFeed documentation:
30 calendar days of tick (includes pre-post market) and several years of 1-Minute history (Forex back to Feb 2005, Eminis back to Sept. 2005, Stock/Futures/Indexes back to May 2007) retrieval for charting and time & sales data |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
I was comparing eSignal and IQFeed loading times with continuous futures contracts going back three days on an 8000 constant volume chart.
eSignal consistently loads the chart in about 10 sec after starting to receive data. IQFeed varied from 40 sec to nearly 60 sec. Has NT been updated with the latest IQFeed API? It changed recently and some of the historical functions were deprecated... just wondering why the big speed difference on my 26mbps cable modem. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Year (?) problem. No live data with Zen Fire/Ninja platform | mkoumis | Connecting | 11 | 01-02-2009 05:30 AM |
| NT7 will manage historical bid/ask data. Beta by the end of this year. | Januson | Miscellaneous Support | 1 | 12-16-2008 11:02 PM |
| Adding TICK to ES Chart | brownsfan019 | Charting | 1 | 05-01-2008 08:52 AM |
| ES Tick Charts Don't Start Anymore | Savage1701 | Charting | 3 | 04-25-2008 06:02 AM |
| How to get 1 year of daily data, not just 3 months. | nightowl | Connecting | 5 | 01-19-2007 05:29 AM |