Skip to main content

Ids

Units

Money is USDC in dollars, shares are shares, and prices are dollars a share (0 to 1). They are stored as exact integer micro-units (6 decimals) and sent as JSON numbers, exact to 6 decimals. Times are unix seconds of block time unless a field says otherwise. Ratios: roi and winRate are fractions (0.25 is 25%); pnlPct on wallet rows is a percent (25 is 25%). A fill’s usd is always before the fee.