Skip to content

Interface: AdvTradeGlobalTransactionLog ​

Properties ​

PropertyTypeDescription
amount?numberOrder size. Use base-coin units for spot, options, and linear instruments, including linear perpetuals; use USD for inverse futures and inverse perpetuals.
balancenumberCash balance after the transaction
block_rfq_id?numberID of the Block RFQ - when trade was part of the Block RFQ
cashflownumberFor futures and perpetual contracts: Realized session PNL (since last settlement). For options: the amount paid or received for the options traded.
changenumberChange in cash balance. For trades: fees and options premium paid/received. For settlement: Futures session PNL and perpetual session funding.
commissionnumberCommission paid so far (in base currency)
contracts?numberIt represents the order size in contract units. (Optional, may be absent in historical data).
currencystringCurrency, i.e "BTC", "ETH", "USDC"
equity?numberUpdated equity value after the transaction
fee_role?AdvTradeGlobalFeeRoleFee role of the user: maker or taker. Can be different from trade role of the user when iceberg order was involved in matching.
idnumberUnique identifier
index_price?numberThe index price for the instrument during the delivery
info?objectAdditional information regarding transaction. Strongly dependent on the log entry type
instrument_name?stringUnique instrument identifier
interest_pl?numberFunding PnL amount for the interval between this log entry and the previous trade or position change on perpetual instruments
ip?stringThe IP address from which the trade was initiated
mark_price?numberMarket price during the trade
order_id?stringUnique order identifier
position?numberUpdated position size after the transaction
price?numberSettlement/delivery price or the price level of the traded contracts
price_currency?stringCurrency symbol associated with the price field value
profit_as_cashflow?booleanIndicator informing whether the cashflow is waiting for settlement or not
role?"source" | "destination"For LSP transfer, ADL transfer and liquidation transfer entries, indicates which side of the position move this entry represents: source (the liquidated account) or destination (the account receiving the position, e.g. an LSP participant)
session_rpl?numberRealized profit and loss accrued in the current trading session (since the last daily settlement). Resets at each daily settlement.
session_upl?numberUnrealized profit and loss on open positions in the current trading session (since the last daily settlement).
settlement_price?numberThe settlement price for the instrument during the delivery
side?stringOne of: short or long in case of settlements, close sell or close buy in case of deliveries, open sell, open buy, close sell, close buy in case of trades
starbase_match_id?numberStarbase match id for trade entries executed in Starbase
starbase_order_id?numberRaw Starbase order id for trade entries associated with orders placed in Starbase
starbase_timestamp?numberStarbase causal timestamp for trade entries executed in Starbase
timestampnumberThe timestamp (milliseconds since the Unix epoch)
total_interest_pl?numberTotal funding PnL accrued in the current trading session since the last daily settlement at 08:00 UTC, in the settlement currency. Resets at each daily settlement.
trade_id?stringUnique (per currency) trade identifier
typestringTransaction category/type. The most common are: trade, deposit, withdrawal, settlement, delivery, transfer, swap, correction, expiry, LSP transfer, LSP commission, ADL transfer, ADL commission. New types can be added any time in the future
user_idnumberUnique user identifier
user_role?AdvTradeGlobalRoleTrade role of the user: maker or taker
user_seqnumberSequential identifier of user transaction
username?stringSystem name or user defined subaccount alias

Built by Siebly. Open source SDKs for exchange APIs.