Skip to main content

Module query

Module query 

Source
Expand description

Request parameter structures for the Ax REST API.

Each struct corresponds to an Ax REST endpoint and is annotated using serde so that it can be serialized directly into the query string or request body expected by the exchange.

Parameter structs are built using the builder pattern and then passed to AxRawHttpClient methods where they are automatically serialized.

Structsยง

GetBookParams
Parameters for the GET /book endpoint.
GetCandleParams
Parameters for the GET /candles/current and GET /candles/last endpoints.
GetCandlesParams
Parameters for the GET /candles endpoint.
GetFundingRatesParams
Parameters for the GET /funding-rates endpoint.
GetInstrumentParams
Parameters for the GET /instrument endpoint.
GetOrderStatusParams
Parameters for the GET /order-status endpoint.
GetOrdersParams
Parameters for the GET /orders endpoint.
GetTickerParams
Parameters for the GET /ticker endpoint.
GetTradesParams
Parameters for the GET /trades endpoint.
GetTransactionsParams
Parameters for the GET /transactions endpoint.