Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Average Price

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

    Average Price

    I'm having trouble computing my average price. I think it's wrong on my chart. Maybe it's a bug or maybe I'm just not understanding correctly. Here is what I've done.
    • Short ES at 1404.50 (2 contracts)
    • Take profit on 1 contract at 1396.75
    • Short 1 contract at 1390.25
    • Stop out 1 contract at 1393.50

    Now I am short 1 contract. The way I think about it I'm still short from my original position at 1404.50 and the way it is reporting in Account Performance is that I closed my original position with the stop out so you can also look at it as I'm short from 1390.25.

    However, NinjaTrader is showing that I'm short by 1 contract from an average price of 1399.75. How in the world was this price calculated?

    #2
    Hello Simmen,
    Thanks for writing in and I am happy to assist you.
    NinjaTrader takes the average price into consideration to calculate the prosition price

    In your case its is (1404.50 * 2 + 1390.25) / 3 which comes to 1399.75

    You can also change the calculation method to FIFO (first in first out) from:
    • In Control Center menu bar goto Tools>Options and click on the General tab.
    • In the General tab, check on "Use FIFO for position avg price calculation"


    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    6 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Working...
    X