Instrument.DbGet("AAPL", InstrumentType.Stock,Exchange.Default, DateTime.MaxValue, 0.0, OptionRight.Unknown );
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DB Get instrument
Collapse
X
-
DB Get instrument
I try to use this code to get the instrument (I specifically need to use Instrument.DbGet , not other approaches):
but it returns null. Any way to get i.e. AAPL instrument with DbGet, I specifically mean the last 3 parameters, as those 3 params are needed for futures, and not for stocks, and there is no overload of DbGet for stocks.Code:Last edited by ttodua; 09-05-2021, 02:25 PM.Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
156 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
90 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
140 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
130 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
107 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment