Skip to main content

Position P&L Updates

Method: WebSocket

Description


Retrieve profit and loss from Positions as they change in real time.

Response Attributes


NameTypeDescription
idintegerThe id associated with the Position.
pnldecimalThe profit/loss associated with the open Position.

Example Response

{
"data":{
"id":1270,
"pnl":-15.000000000
},
"action": 1 // 0 = create, 1 = update, 2 = delete/remove
}