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 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
          60 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