Expand description
Competition domain types.
Competitions, leaderboards, username requests, and profile data for the trading competition system.
Structsยง
- Competition
Fill Input - Input for recording a competition fill event.
- Competition
Fill Record - A fill event for competition PnL computation.
- Competition
Final Stats Input - Input row for inserting finalized competition stats.
- Competition
Final Stats Record - Finalized stats for a wallet in a completed competition.
- Competition
Record - A persisted competition row.
- Competition
Update Input - Input for updating an existing competition (all fields optional).
- Competition
Upsert Input - Input for creating a new competition.
- Platform
Wallet Metrics - Per-wallet realized PnL and volume (platform-wide metrics).
- Profile
Fill Record - Record for fill data used by the profile trade history endpoint.
- Symbol
PnlRecord - Per-symbol realized PnL breakdown.
- Symbol
Volume Record - Per-symbol volume breakdown.
- Theo
Mark Record - Historical theoretical mark price for a symbol.
- Wallet
Ledger Stats - Aggregated ledger stats for a wallet (deposits, withdrawals, realized PnL, 24h PnL).
- Wallet
Username Record - Batch wallet-to-username mapping from the usernames table.