| Old Endpoint | New Endpoint | Changes |
|---|---|---|
GET /trading-history-24h | GET /api/trading-history/24h?chainId=\{id} | Path prefix added, chainId support |
| Old Endpoint | New Endpoint | Changes |
|---|---|---|
GET /personal-trading-history-table/:address | GET /api/personal-trading-history/:address?chainId=X | Path renamed, cursor-based pagination, limits |
| Price Type | Description | Used For |
|---|---|---|
| Mark Price | Price used for trade execution | TP/SL, Limit Orders, Stop Orders, PnL calculations |
| Index Price | Spot price, unaffected by derivatives skew | Liquidations only |
| Type | Mark Price | Index Price | Examples |
|---|---|---|---|
| Core | market (spot + skew) | spot | BTC, ETH (funding fees) |
| Volatile | futures | spot | Non-core crypto |
| Regular | spot | spot | Forex, stocks, commodities, non-core crypto w/o futures |
| Field | Type | Description |
|---|---|---|
m | number\[] | Mark prices as flat array \[pairIndex, price, ...] |
i | number\[] | Index prices as flat array \[pairIndex, price, ...] |
t | number | Timestamp (milliseconds) |