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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
628 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
359 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
562 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment