Question about AccountProfit()
Results 1 to 3 of 3

Thread: Question about AccountProfit()

  1. #1
    I'm analyzing AccountProfit vs. AccountMargin as a means of managing trade exits. My question is does AccountProfit only use all open transactions to calculate P/L or does it utilize closed trades also?

    I understand OrderProfit uses only open transactions but it's only for EACH individual open order's P/L.

    I *believe * that AccountProfit adds and totals all OPEN transactions P/L only and doesn't include closed trades. Or am I confused here. I could not find any clear documentation regarding this. Anyone know for certain?

  2. #2
    Quote Originally Posted by ;
    AccountProfit() is your P/L of the current opened positions.
    That is what I had been hoping for. Thanks.

  3. #3
    AccountProfit() is the P/L of the current opened positions.

    OrderProfit() is the P/L of a particular order chosen under MODE_TRADES (opened position) or MODE_HISTORY (closed position).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.