Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Add(serurity) trouble
Collapse
X
-
if i take the extreme case where i add a lot of securities on the 1sec scale, and i average them over the last n seconds for example. Some may not be downloaded when the averaging starts ie desynchronized.
Question; will nt average taking the last n of each irrespective of the time stamp or will it make sure that they've all arrived hence averaging over the last n shared time stamp.
will it average like this(n=5)
x x x x x x x x x x x
y y y y y y y y y
z z z z z z z z z z z z
or like that
x x x x x x x x x x x
y y y y y y y y y
z z z z z z z z z z z z
Comment
-
Each data stream is its own. If one stream does not have data then trying to access [0] for that stream will still only give you the latest bar of that stream even if it is missing 10 bars for instance.
If you want to check times, you will need to check the times yourself in your code.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
168 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
322 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
246 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
350 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment