Skip to main content
String!
The ID of the prediction outcome.
Boolean!
The is winning outcome.
String!
The shares held. This number may not be the same as the actual shares held if the trader has not actually redeemed the shares, but we’ve already calculated the pnl.
String!
The actual shares held. If the trader has not actually redeemed the shares, but we’ve already calculated the pnl, this will still track their actual shares held.
String!
The avg entry price usd.
String!
The avg entry price ct.
String!
The cost basis usd.
String!
The cost basis ct.
Int!
The number of buys.
Int!
The number of sells.
String!
Buy volume in USD.
String!
Sell volume in USD.
String!
Buy volume in collateral token units.
String!
Sell volume in collateral token units.
String!
Buy volume in shares.
String!
Sell volume in shares.
String!
The realized pnl usd.
String!
The realized pnl ct.
String
The current outcome price in USD. Null when latest price data is unavailable.
String
The current outcome price in collateral token units. Null when latest price data is unavailable.
String
The current position value in USD. Returns 0 for closed/no-share positions; null when latest price data is unavailable for an open position.
String
The current position value in collateral token units. Returns 0 for closed/no-share positions; null when latest price data is unavailable for an open position.
String
The unrealized pnl in USD. Returns 0 for closed/no-share positions; null when latest price data is unavailable for an open position.
String
The unrealized pnl in collateral token units. Returns 0 for closed/no-share positions; null when latest price data is unavailable for an open position.
PredictionTraderMarketPnlStatus!
The pnl status. See PredictionTraderMarketPnlStatus
Int!
The timestamp of the first trade.
Int!
The timestamp of the last trade.

Used By

Returned by