• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on LIFO vs FIFO trading

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

    Question on LIFO vs FIFO trading

    Hi NT Support,

    An example:

    I buy a contract, and the price goes down by 10 points, then I buy another contract. The price goes up by 5 points and hits my target for the secons contract. However, My realized PnL now shows negative 5 points, as NT sold in a FIFO manner reflecting it as if I sold the first contract at a 5 point loss. However, my goal is for the PnL to reflect a 5 point gain and show that I sold the second contract, and the the entry price to remain at the entry for the first contract.

    How can I change the settings to reflect this, thank you.

    #2
    Hi Austiner87, thanks for your note.

    If the account never goes flat in between the orders being placed then NT will calculate the PnL based from the first position taken, so if the position loses 4 points then reverses that loss will still be reflected when the position goes back up. If the position goes from long to flat to long again the unrealized PnL would be reset when the account goes flat
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      I find this to be a problem with NT as well. Is it possible to make NT calculate Pnl based on the contract that was closed through config or code? I'm on NT8.
      Last edited by martyn73; 02-11-2020, 12:40 PM.

      Comment


        #4
        Hi martyn73, thanks for your post.

        Unfortunately, there is no way to change the form control that displays PnL in the Control Center.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by darkgreen, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post darkgreen  
        Started by GTBrooks, Today, 02:44 PM
        3 responses
        14 views
        0 likes
        Last Post GTBrooks  
        Started by GLFX005, Today, 12:22 PM
        4 responses
        41 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by AspenHiker, Today, 08:37 AM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by MartinT, Yesterday, 01:12 PM
        3 responses
        17 views
        0 likes
        Last Post MartinT
        by MartinT
         
        Working...
        X