Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to determine whether an instrument is dealable or not

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

    How to determine whether an instrument is dealable or not

    Is there a way to determine whether an instrument is dealable or not? Something like Instrument.MasterInstrument.IsDealable? If there's no such property, what's the best practice to determine this value?

    Regards,
    Daniel

    #2
    Daniel, are you referring to tradable on the current connection you use? Generally you could check for the type of instrument and excludes indices then - http://www.ninjatrader-support.com/H...umentType.html

    Comment


      #3
      Hello Bertrand,

      yes I mean tradable on the current connection. I have a multi instrument strategy that analyzes several currency pairs, but some of them are not tradeable, so I get wrong results. For example: The last bar for $SGDJPY appeared today 06:00am; obviously this pair will not be tradable until next week.

      Regards,
      Daniel

      Comment


        #4
        Daniel, unfortunately there's no property returning this - I would limit the strategy via time filters for each symbol you intend trading with it.

        Comment


          #5
          Ok, thanks. Maybe for future Versions of NT: There's a flag in Gains API "D=Status, Dealable or Referred". It would be great if this flag will become available in NinjaScripts.

          Regards,
          Daniel

          Comment


            #6
            Daniel, thanks for this suggestion, appreciated.

            Comment


              #7
              It's me again.

              I've contacted Gain to ask them for a time table. The short answer: "There is no such table". The problem was that I was not subscribed to this pair, so NT loaded the historical data, but got no updates from the rates service.

              Isn't it possible to change the subscriptions at runtime depending on which pairs are used (in charts, strategies and whatever)?

              Regards,
              Daniel

              Comment


                #8
                Unfortunately not Daniel, those would be managed at Gain directly for your login.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by CarlTrading, 03-31-2026, 09:41 PM
                1 response
                67 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                36 views
                0 likes
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                59 views
                1 like
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                62 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                53 views
                0 likes
                Last Post CarlTrading  
                Working...
                X