Liquidity Weighted Average Price (LWAP) represents the average execution price achieved when trading through all resting orders in the order book (sweeping the book), up to a specified depth. For example, if you sell through the book down to 50 basis points away from the best-bid/best-ask, LWAP calculates the average execution price for that trade.
[Required] The exchange for which to retrieve listed spot instruments.
[Examples] gdax | okex | binance | binanceus
[Required] The currency pair for the spot instrument.
[Examples] btc_usd | btc_usdc | eth_usd
[Optional] Payload only includes data after this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2025-02-27
[Optional] Payload only includes data up to this date (exclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2025-02-27
[Optional] Time format of the timestamps in the return payload.
[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
200
The response is of type any
.