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ยง

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.
GetTickerParams
Parameters for the GET /ticker endpoint.
GetTransactionsParams
Parameters for the GET /transactions endpoint.