Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OnMarketData and Session Template
Collapse
X
-
Hello pman777,
I was able to confirm the session template prevents only OnBarUpdate from processing and does not prevent OnMarketData/OnMarketDepth or other methods from being triggered and that this is expected behavior.
Would you like to submit a feature request for the NinjaTrader Development to consider preventing OnMarketData (or other specific methods) from being triggered outside of the session template (Trading Hours in NT8) in a future version of NinjaTrader?Chelsea B.NinjaTrader Customer Service
Comment
-
Is there any history on why this was originally done this way? Just wondering.Originally posted by NinjaTrader_ChelseaB View PostI was able to confirm the session template prevents only OnBarUpdate from processing and does not prevent OnMarketData/OnMarketDepth or other methods from being triggered and that this is expected behavior.
Comment
-
Hello sledge,
Thank you for your response.
OnMarketData and OnMakretDepth are subscriptions to the live data. Chart bars are built by the Session Template/Trading Hours in order to view the graphs and studies over the desired collection of bars. This means OnBarUpdate is restricted to only the bars updating in the Session.
This is essentially the difference between live data and a graph that is collection of data (Charts).
Please let me know if you have any questions.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment