Standards and Conventions
To ensure data consistency and reliability, the following standards and conventions are followed:
Timestamps:
Fee details are stored in JSON format for compatibility across exchanges.
Each trade fee is linked to its respective trade to ensure accurate calculations.
Data Integrity:
Each trade has a unique id that differentiates it from others.
symbol values follow the standard market notation (e.g., BTC/USD, ETH/USD).
Trade Side Representation:
The side field is always either "buy" or "sell" to indicate trade direction.
Order Execution Types:
The type field supports various order types, including:
Market Order: Executes immediately at the best available price.
Limit Order: Executes at a specific price or better.
Stop-Limit Order: Becomes a limit order once the stop price is reached.
Fees and Costs:
Fee details are stored in JSON format for compatibility across exchanges.
Each trade fee is linked to its respective trade to ensure accurate calculations.
Last updated