Check if an order is eligble or scoring for Rewards purposes
GET /<clob-endpoint>/order-scoring?order_id={...}
Name | Required | Type | Description |
---|---|---|---|
orderId | yes | string | id of order to get information about |
Name | Type | Description |
---|---|---|
null | OrdersScoring | order scoring data |
OrdersScoring
object is of the form:
Name | Type | Description |
---|---|---|
scoring | boolean | indicates if the order is scoring or not |
This endpoint requires a L2 Header.Returns to a dictionary with boolean value where it is indicated if an order is scoring or not. HTTP REQUEST
POST /<clob-endpoint>/orders-scoring
Name | Required | Type | Description |
---|---|---|---|
orderIds | yes | string[] | ids of the orders to get information about |
Name | Type | Description |
---|---|---|
null | OrdersScoring | orders scoring data |
OrdersScoring
object is a dictionary that indicates the order by if it score.