Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnExecutionUpdate and Trade Profit

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

    OnExecutionUpdate and Trade Profit

    Hello,

    I would like to know if there is an method to get the trade profit with OnExecutionUpdate events.

    I've all information about execution, but if execution is 'IsLastExit' i've no idea how to get profit of this trade(especially with multiple lots at multiple prices)

    Thanks
    johnok
    NinjaTrader Ecosystem Vendor - Trade With Me

    #2
    Hello johnok,

    Thanks for your post.

    OnExecutionUpdate() does not have methods for getting the profit value of trades that are made. The TradesPerformance collection could be used to get information about trades that are made, such as Gross Profit, Net Profit, Average Profit, Cumulative Profit, and more.

    See the help guide documentation below for more information about using the TradesPerformance collection and the values available to access.

    TradesPerformance: https://ninjatrader.com/support/help...erformance.htm

    TradePerformanceValues: https://ninjatrader.com/support/help...ancevalues.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PearleMccarthy, Today, 04:39 AM
    0 responses
    6 views
    0 likes
    Last Post PearleMccarthy  
    Started by FaaZer, Today, 04:03 AM
    0 responses
    3 views
    0 likes
    Last Post FaaZer
    by FaaZer
     
    Started by giogio1, Today, 03:52 AM
    0 responses
    6 views
    0 likes
    Last Post giogio1
    by giogio1
     
    Started by giogio1, Today, 03:40 AM
    0 responses
    5 views
    0 likes
    Last Post giogio1
    by giogio1
     
    Started by cupir2, Yesterday, 06:49 PM
    0 responses
    13 views
    0 likes
    Last Post cupir2
    by cupir2
     
    Working...
    X