NexusFi: Find Your Edge


Home Menu

 





Ninja Live/Demo vs Replay differences


Discussion in NinjaTrader

Updated
    1. trending_up 3,617 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20

Hello All,

I've been involved with Ninjatrader for about a year now, working on my automated strategy. Doing some good stuff, I think. But one of the areas that I'm getting hung up on is the apparent difference between Ninja Live (Demo) and Replay data. This apparent difference when running a replay file prevents my strategies from firing when the live ones did.

To really see the difference, I decided to write a small ninjascript strategy. It just writes tick data to the file specified. I am attaching the ninajscript (PrintCurrentBidAsk.cs) and 2 sample output files from after hours testing (~10:30 pm EST) as NinjaTickTesting.zip. One sample is from the Live (i.e. demo feed), the other is from the corresponding replay file. Historical bars seem to be fairly consistent. You really see the difference by searching for "Tick 2" ... the 2nd tick of the 1st non-historical (i.e. real time) bar.

What think ye ?


Attached Files
Elite Membership required to download: NinjaTickTesting.zip
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
Would a node-based workflow for automated trading be useful?
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
Daytrading to swingtrading
Traders Hideout
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #2 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20

I wanted to show another difference in live/demo and replay charts. Take a quick look at my attached word file. As you can see, there may be a substantial difference in how calculations are made w/r to live/demo and replays (due to the starting point of the data).


Attached Files
Elite Membership required to download: ReplayVsLiveDifference.doc
Reply With Quote
  #3 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20


Answered my own question ... it appears that NT 7 will solve this issue (i.e.
live vs replay differences) ...

Market replay help - NinjaTrader Support Forum


Reply With Quote




Last Updated on December 2, 2009


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts