Last updated 4 months ago
Trading and other data is stored via The Graph. Query the subgraph using GraphQL.
owedRealizedPnl
Retrieve a trader's unrealized P&L
{ traderProfiles( where: { trader:"0x6cf8aba4b2bc2cd9be2e78cf61ef617b02893502" // Lowercase only } ) { owedRealizedPnl market { id } } }