Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Contract Size

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

    Contract Size

    I was wondering if there was any way to get the contract size from historical futures data. I have a position sizing algorithm set up that calculates the qty for the position. It works fine for stocks, but for futures, for example, it tries to enter a position for 1000 contracts instead of one contract for 1000 units.
    I was trying to find some way to get the contract size so I could accurately calculate the correct number of contracts to enter based on the amount of risk and account size for back testing purposes.
    Thanks in advance,,,

    #2
    Welcome to our forums jwitt98, you could access the PointValue of the instrument in NinjaScript and from easily have the current contract curreny value - http://www.ninjatrader.com/support/h...instrument.htm

    Comment


      #3
      Thank you. That works.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      65 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      41 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      23 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      26 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      52 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X