I need to keep track of the pnl a strategy has accumulated since it was last started. I need to keep track of the realized pnl + open PNL since the strategy was last enabled and stop trading if I go beyond a certain profit or loss. Hope this makes sense.
Can you provide guidance on which api's to use for that.
Onn

Comment