mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
806 B
806 B
Queries
All queries go through the following endpoint; the exact details of the query are specified by the JSON payload.
- REST:
POST [TRIGGER_ENDPOINT]/query
API Response
All queries return in the format:
{
"status": "success" | "failure",
"data"?: {data},
"error"?: "{error_msg}",
"error_code"?: {error_code},
"request_type": "{request_type}"
}
Available Queries:
{% content-ref url="queries/list-trigger-orders" %} list-trigger-orders {% endcontent-ref %}
{% content-ref url="queries/list-twap-executions" %} list-twap-executions {% endcontent-ref %}