Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cangeable tick size for contract

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

    Cangeable tick size for contract

    Some of the stocks contract have tick size that varies with the price.
    So for example in range (0 - 100) - tick size is 0.01, in range (100-200) tick size is 0.05.
    Does NinjaTrader facilitate somehow handling for such contracts?
    So far (till I found out about such contracts) I always used:
    Code:
    Instrument.MasterInstrument.Round2TickSize(somePrice)
    Moreover I have seen many times in different topics, that managed approach does this rounding by default. Now I am a little bit puzzled.
    When order with incorrect price (e.g. when it is rounded incorrectly) is sent - it is rejected.
    I didn't find how to specify changeable tick size for contract. So how do I go around such contracts? I would appreciate any suggestions.
    So far I think about providing manual algorithm of rounding, which is based on the additional input parameters: pairs of contract price ranges - tick size. But this approach also would mean that I can't use managed approach - since it uses default rounding, which is not correct for such contract.

    #2
    Hello Andreano,

    Thank you for your post.

    Can you provide an example of an instrument that has a dynamic tick size?

    Comment


      #3
      I guess It could be something of this list:

      Comment


        #4
        Hello Andreano,

        Thank you for that information.

        We currently have nothing in place to accommodate dynamic updates on tick sizes. Adjusting the tick size of the instrument in NinjaTrader would have to be done manually through the Instrument Editor for the instrument in the Instrument Manager.

        In NinjaScript you would only be able to read the tick size from the database (TickSize: http://www.ninjatrader.com/support/h...7/ticksize.htm).

        Please let me know if you have any questions.

        Comment


          #5
          Ok. Thanks for reply. I guess I would go ahead with what I had in mind.

          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