Price slippage (snapshot)
Last updated
Last updated
This endpoint uses our Bids and asks (snapshot) as source data and enhances its raw data with the Price Slippage metric.
Price Slippage calculates the potential slippage for a market buy order if it were placed at the time the Order Book Snapshot was taken.
region
Yes
Choose between eu
and us
.
exchange
Yes
Exchange code.
instrument_class
Yes
instrument
Yes
page_size
No
Number of snapshots to return data for.
Default: 10
Max: 100
See Pagination
Automatically included in continuation tokens.
sort
No
Return the data in ascending (asc) or descending (desc) order.
Default: desc
Automatically included in continuation tokens.
start_time
No
Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens.
end_time
No
Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens.
slippage
No
Order size (in quote asset) for which to calculate the percentage of slippage.
Default: 0
.
When null
is returned, not enough volume is present on the order book to execute the order.
slippage_ref
No
Price point for which to calculate slippage from. Either from the mid price (mid_price
) or from the best bid/ask (best
).
Default: mid_price
.
poll_timestamp
The timestamp at which the raw data snapshot was taken.
poll_date
The date at which the raw data snapshot was taken.
timestamp
The timestamp provided by the exchange. null
when not provided.
ask_slippage
The percentage price slippage for a market buy order placed at the time that the order book snapshot was taken.
bid_slippage
The percentage price slippage for a market sell order placed at the time that the order book snapshot was taken.
See
Instrument class
.
See
Instrument code
.
See
"Snapshots" show a point-in-time view generated every 30 seconds, whereas "aggregations" show an aggregation of all 30-second snapshots from the period requested.