Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DataSeries data discrepancy
Collapse
X
-
lawrence124, that could be the case in realtime - as NT is an event driven framework, the missing update from instrument 2 for example could mean the calculation is running with the last known tick only.
I would recommend looking into KDoren's spread indicator works from the sharing, it's offering a concept to sync datapoints as in your case needed as well -
-
DataSeries data discrepancy
Hi, I've a strategy which use multi-instruments and i will but a dataseries like this, say
CloseDiff.Set( Closes[0][0]*2-Closes[1][0]*1); (time frames are the same)
the problem is, strategy is triggered by instrument #0 by end of bar but seems like end of bar of instrument #1 has not been triggered, ie, the calculation was completely off in real-time
when I load the strategy again (using Print statement so i can know what is going on step by step), there wont be any problem as all the bars were built properly
how to prevent the data/bar discrepancy in real time? ThanksTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Zek303, 10-20-2024, 06:17 PM
|
4 responses
64 views
0 likes
|
Last Post
by bltdavid
Today, 01:52 PM
|
||
Started by jointkp1, Today, 01:11 PM
|
0 responses
8 views
0 likes
|
Last Post
by jointkp1
Today, 01:11 PM
|
||
Started by warpinator, Today, 01:01 PM
|
0 responses
13 views
0 likes
|
Last Post
by warpinator
Today, 01:01 PM
|
||
Started by C_Hardy, 11-28-2024, 05:44 PM
|
9 responses
66 views
0 likes
|
Last Post
by C_Hardy
Today, 12:41 PM
|
||
Started by kellyboy, Today, 11:29 AM
|
0 responses
9 views
0 likes
|
Last Post
by kellyboy
Today, 11:29 AM
|
Leave a comment: