Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Convert Price to Dollars

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

    Convert Price to Dollars

    Good Morning,

    I am writing some position sizing code in one of my strategies and I am stuck on what seems to be a simple question.

    How to I convert the price of a contract into dollars?

    In case it matters, I am looking at commodities, not stocks.

    Thank you in advance for your help.

    Cheers,

    #2
    Hi SodyTexas,

    Thank you for your post and welcome to the forums!

    Price of a contract into dollars is worked out as Point value * Tick Size.

    Example is the ES contract.
    Point value = 50
    TickSize = .25

    50*.25 = $12.50 per tick.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thanks Cal,

      Point Value was what I could not find; I appreciate the help finding it! Just in case someone else reads this, they can find the syntax here:

      http://www.ninjatrader.com/support/h...trument_po.htm

      Cheers,

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      160 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      307 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      348 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      178 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X