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 Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                648 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                369 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                108 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                572 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                573 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X