Freeze

API to query trade PL

Programming


My strategy need the unrealized PL of my trades to decide take profit or stop loss. 
I checked the tech doc a few times but still can't find related implementation details. 
Anyone know what is the API function??

 
Ultraman
Seems no such API yet. 
You can simply calculate using this formula: PL = Position*(market price - open price)