Variational Docs

Trade and Transfer History

CSV downloads are available by clicking the download icon on each page in one's portfolio. Users can download CSVs of their historical trades, funding, realized PnL, and transfers from Omni (up to a 365-day window).

Info

Pending items are not included in CSV exports, and only up to 10,000 rows will be exported at once.

Trades

The following data is included in each row of the trades CSV:

Column Type Description
id string Unique identifier for each trade.
created_at timestamp Timestamp of trade creation.
side string Always one of: {"buy", "sell"}
instrument_type string Always "perpetual_future"
underlying string Ticker of underlying (e.g. “BTC”).
price decimal Execution price of the trade
qty decimal Trade quantity
trade_type string Always one of: {"trade", "liquidation", "settlement_market_delisted"}
status string Always one of: {“confirmed”, “failed”}
liquidation_trigger_price decimal If trade_type is "liquidation," this displays the mark price that triggered the liquidation.

Funding, Realized PnL, and Transfers

The following data is included in each row of the transfers CSV:

Column Type Description
id string Unique identifier for each transfer.
created_at timestamp Timestamp of transfer creation.
qty decimal Transfer quantity
asset string Settlement asset for the transfer (e.g. "USDC")
transfer_type string Always one of: {"deposit", "withdrawal", "realized_pnl", "funding", "fee"}
status string Always "confirmed"
underlying string Ticker of underlying (e.g. “BTC”).
instrument_type string Always "perpetual_future"
fee_type string Always one of {"trade", "deposit", "withdrawal"}
funding_rate decimal Funding rate at given timestamp