Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Polling Data provider for all available MasterInstrumenrs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Polling Data provider for all available MasterInstrumenrs

    Is there a way to poll a data provider for all available instruments ?

    Or If I build a symbol list and try to add the series, will a get a response indicating I do not have permission for that Item ?

    Thanks

    #2
    Hello GKonheiser,

    Thanks for opening the thread.

    I do not think polling the provider for a list of instruments would be possible to do within NinjaScript, or at least in a supported and documented way.

    You could add multiple instruments to a strategy, however. If a symbol is not valid, Add() will fail and Initialize() will abort. You could use try, catch blocks to allow the strategy to alert the user and continue when an invalid instrument is found.

    For the thread's reference, adding additional data series is described in the reference sample here: http://ninjatrader.com/support/forum...ead.php?t=6652

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X