Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Treasury Notes Price Conversion

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

    Treasury Notes Price Conversion

    2 Year Treasury Notes
    Bars.Instrument = ZT 03-11 Globex
    Close[0] = 109.3203125
    FormatPrice(Close[0]) = 109'102

    5 Year Treasury Notes
    Bars.Instrument = ZF 03-11 Globex
    Close[0] = 117.609375
    FormatPrice(Close[0]) = 117'195

    What is the formula / math to convert the FormatPrice(Close[0]) to Close[0]? Or put another way, convert the string/label price to the decimal price.

    Thanks

    #2
    Hello TajTrades,

    Best is to look at contract specifications for these to see how they format their prices:


    Points ($2,000) and quarters of 1/32 of a point. For example, 109-16 represents 109 16/32, 109-162 represents 109 16.25/32, 109-165 represents 109 16.5/32, and 109-167 represents 109 16.75/32. Par is on the basis of 100 points.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan,

      I am assuming that within NT there will always be 3 characters/digits following the " ' " character separating the whole number from the fractional part in all treasury quotes. In other words you guys do not leave off the zero anywhere as in 109'120.

      Is this a correct assumption?

      Comment


        #4
        Hi Taj,

        That's correct. All prices for these instruments are formatted for 3 digits after the ^.

        109 ^120 = 109 ^ 12/32 = 109.375
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        567 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 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
        548 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        548 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X