For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

should pnlcomm be negative for newly opened trade?

  • Both pnl and pnlcomm are 0 for newly opened trade in notify_trade. However, should pnlcomm be 0, since it's net profit, and should include commission?

Log in to reply