Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Adding an Instrument without loading history
Collapse
X
-
I am using the OnMarketDepth() stream but I don't want a lookback at all. I tend to run a lot of strategy instances (a few on every front and next month instrument) and I don't want the overhead of loading and storing chart history. If I start a strategy I have to select an instrument and there appears to need to be at least 1 day of history. I just don't want NT7 to load any history at all. Is this possible?
Comment
-
You could select to create the chart with 0 bars as lookback - or do you work from the strategies tab to start them up?
Unfortunately you would need to Add() the instrument to have programmatic access, however you could just return for example out of any OnBarUpdate() calcs with Historical, this would speed up the loading for you since you only need a realtime stream to work with.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
85 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
67 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment