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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
237 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
152 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
163 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
246 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
199 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment