Profit & Loss
Subscribe to Profit & Loss
Subscribe to live profit and loss information for all accounts accessible by the authenticated user.
Request
spl+{}
Properties
The leading topic message indicating a request to subscribe to live profit and loss data.
No additional parameters are required.
Response
Properties
Returns the topic of the request. Returns "spl".
Object containing profit and loss data, keyed by account identifier.
Contains the profit and loss values for the specified account.
The row value of the request. Increments with additional accounts.
Daily profit and loss value.
Net liquidation value of the account.
Unrealized profit and loss for the day.
Unrounded excess liquidity in the account.
Market value of held positions in the account.
Unsubscribe from Profit & Loss
upl+{}
Request to cancel the Profit & Loss subscription.
Request
Properties
Cancels the subscription to profit and loss information.
No additional parameters are required.
Response Example
Unsubscribing from profit and loss updates does not deliver any acknowledgement. It would be expected for spl responses to immediately halt.

