Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.codex.io/llms.txt

Use this file to discover all available pages before exploring further.

WIN
enum
LOSS
enum
NEUTRAL
enum

Used By

Returned byUsed as input by

PnL Status Descriptions

  • WIN - The trader’s position resulted in a profit. For resolved markets, this means the trader held shares of the winning outcome. The trader’s realized PnL is positive.
  • LOSS - The trader’s position resulted in a loss. For resolved markets, this means the trader held shares of a losing outcome or sold winning shares too early. The trader’s realized PnL is negative.
  • NEUTRAL - The trader’s position broke even or has not yet been resolved. This can occur when a trader has closed all positions at their entry price, or when the market is still open and unrealized PnL is near zero.