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 warreng86, 11-10-2020, 02:04 PM
    5 responses
    1,356 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Perr0Grande, Today, 08:16 PM
    0 responses
    3 views
    0 likes
    Last Post Perr0Grande  
    Started by elderan, Today, 08:03 PM
    0 responses
    5 views
    0 likes
    Last Post elderan
    by elderan
     
    Started by algospoke, Today, 06:40 PM
    0 responses
    10 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    12 views
    0 likes
    Last Post maybeimnotrader  
    Working...
    X