NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 11-11-2007, 09:05 AM   #1
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default Market replay data ....

I've been recording data for the YM for a few days, running a chart or two all day with IB as the data provider. Today I'm running replay at 50x speed as the data source and I notice that the data does not look right. The volume for the first bar of Friday's regular session is about a third of what it is if I connect OpenTick and pull up the same chart and the prices seem to be jumping several points every tick. Does this have something to do with the way IB sends data? If I connected OpenTick along with IB would I record a better set of data?
Last edited by maxpi; 11-11-2007 at 09:19 AM.
maxpi is offline  
Reply With Quote
Old 11-11-2007, 09:32 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

When viewing replays at 50x you might see some stutters and race conditions in price fluctuations simply because of the sheer amount of information you are trying to display at high speeds.

In regards to the data itself, different providers will have differences in their data. Running both IB and OpenTick at the same time will not affect your recordings. It will record from your primary connection.
NinjaTrader_Josh is offline  
Reply With Quote
Old 11-11-2007, 09:44 AM   #3
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default

I'm more interested in doing forward tests of strategies on speeded up data after the market than anything. I can play with the speed settings to see what my computer can keep up with.

If I set up an Opentick connection with IB as secondary source will I be able to trade live with IB during the day and have an Opentick recording? The Opentick data might be better since they don't aggregate it...
maxpi is offline  
Reply With Quote
Old 11-11-2007, 12:59 PM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Even if your computer can handle the sped up speeds you will notice differences in fills due to race conditions. You can try it for yourself. Find a spot where you strategy enters a market position. Go through that time at 1x and note the fill price then go through it again at 50x and sometimes it will fill differently.

I believe you should be able to do that OpenTick/IB combo.
NinjaTrader_Josh is offline  
Reply With Quote
Old 11-11-2007, 03:07 PM   #5
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks much Josh
maxpi is offline  
Reply With Quote
Old 11-11-2007, 04:55 PM   #6
zoltran
Senior Member
 
Join Date: Nov 2005
Location: , Ontario, Canada
Posts: 400
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by maxpi View Post
If I set up an Opentick connection with IB as secondary source will I be able to trade live with IB during the day and have an Opentick recording? The Opentick data might be better since they don't aggregate it...
My experience is .. it depends which feed you connect to 1st, and if you have paid for R/Time exchange fees at OpenTick.

A) IF you connect NT to IB 1st, . then IB is your R/T feed, and this is what gets recorded for replay. Opentick is only used for backfill data.

B) IF you connect Opentick 1st and then to IB... IB is only used for Brokerage/trading, not quotes.
Opentick data is then recorded for Replay.

Option B requires you to have paid the appropriate real-time exchange fees's on Opentick. (money goes to the exchange, not Opentick)

Option A does not require this, and only use Opentick for backfill
zoltran is offline  
Reply With Quote
Old 11-11-2007, 07:57 PM   #7
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default

Nice thing about opentick, YM data is free... I set up the opentick connection to have IB as backup, maybe that will be good, if not I will have to connect them in order...
maxpi is offline  
Reply With Quote
Old 11-11-2007, 08:16 PM   #8
zoltran
Senior Member
 
Join Date: Nov 2005
Location: , Ontario, Canada
Posts: 400
Thanks: 0
Thanked 0 times in 0 posts
Default

Yup

Just to be clear .. it's really ECBOT that make YM and the other 'Y' mini's free.

YG for example.
zoltran is offline  
Reply With Quote
Old 11-12-2007, 01:38 PM   #9
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default

Uhh huh, and they are being bought by the CBOE so the free part could likely change at some point.
maxpi is offline  
Reply With Quote
Old 11-12-2007, 01:59 PM   #10
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default

Does the market replay aggregate data and send it to the screen? That is what it appears to do... I was thinking I could forward test strategies on replay data at high speeds in lieu of backtesting, maybe I can do that but not at such high speeds... and maybe what the stragegy does and what the screen does is two different things....
maxpi is offline  
Reply With Quote
Old 11-12-2007, 02:20 PM   #11
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Its is like any real-time feed and can be forwarded tested. The only limitation is that the simulation engine runs on real-time and not accelerated time, therefore if you run at 50x, the simulator is still running at 1x and your fill could be based on data in the future. You can eliminate some of this delay by setting some of the time delay parameters in the Tools > Options > Simulator to values of zero.
NinjaTrader_Ray is offline  
Reply With Quote
Old 11-12-2007, 06:03 PM   #12
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default

Ten times speed would be ok. A day in 40 minutes with testing to the tick level is fine, I'm looking to map out a general idea that is backtested fairly well and see it on the screen. There's just something about seeing the product's first iteration working in a real environment, it always clears the way for more questions
maxpi is offline  
Reply With Quote
Old 02-10-2008, 02:28 PM   #13
koalboy
Member
 
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default Testing Results Market Replay Speed

I'm not able to code a tick-based-strategy which could generate "close-to-reality" backtesting performance in the strategy analyzer. So my only alternative is to test my strategies on market replay what only makes sense if I can take advantage of the high-speed-function (up to 500x - fantastic!!!!)

But unfortunately I read that the filling-simulator cannot cope with highspeed of the replay. So I've tested the market replay function due to its results on different speed levels (500x, 50x, 1x).

I took Zenfire-recorded data of the FDAX of a whole week. The results were better than expected:

There was no (!!) difference in filling-prices (default-fillingtype) over about 250 Orders at all.

Im on Version NT 6.5.0.8.

So I'd like to know, if this speed-restriction-problem of the simulator is already solved?

thx
koalboy is offline  
Reply With Quote
Old 02-10-2008, 02:44 PM   #14
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Yes, it has been resolved.
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-10-2008, 03:39 PM   #15
koalboy
Member
 
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

@ Josh

If I run e.g. 10 strategies on the same instrument at the same time in the market replay environment @ speed 500, is there any possibilty, that they affect each other in a way?

When I was doing that yesterday, some of the strategies stopped during the session without any notice (no "order rejection" or "termination of the strategy" window opened; no message in the log).

thx
koalboy is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Market replay data Curly68 ATM Strategies (Discretionary Trading) 81 11-09-2009 02:07 PM
Market Replay imported data boriss Miscellaneous Support 7 04-22-2008 02:34 AM
Market Replay Data Availability dgregor5 Miscellaneous Support 3 11-28-2007 11:01 AM
Market Replay and Historical Data ForexResearch Miscellaneous Support 9 07-21-2007 10:52 AM
Market data for market replay function grd974 Miscellaneous Support 1 05-26-2007 09:02 AM


All times are GMT -6. The time now is 03:27 PM.