Files
ritmex-bot/docs/grvt/schemas/api_get_order_group_response.md

1.0 KiB

!!! info "ApiGetOrderGroupResponse" |Name
Lite|Type|Required
Default| Description | |-|-|-|-| |result
r |[ClientOrderIDsByGroup]|True|A list of client orders grouped by their associated order group.
Each entry in the list contains a groupID and the corresponding clientOrderIDs
that belong to that group.| ??? info "ClientOrderIDsByGroup" Grouping for the client order id and their associated groups.

This is used to define TP/SL pairs or other order groupings after loading the list of Open Orders.

    |Name<br>`Lite`|Type|Required<br>`Default`| Description |
    |-|-|-|-|
    |group_id<br>`gi` |string|True|The group this order belongs to. It can be used to define TP/SL pairs or other order groupings|
    |client_order_id<br>`co` |[string]|True|List of client order IDs in the group|
    |sub_account_id<br>`sa` |string|True|The sub account ID that these orders belong to|