Get Orders
Retrieve all your order book orders
You can retrieve a list of orders you have placed by calling the getProOrders query.
1
query {
2
getProOrders(pair: btc_usdt, status: successful, side: buy) {
3
edges {
4
node {
5
id
6
pair
7
price
8
side
9
status
10
timeInForce
11
orderType
12
fees
13
filled
14
total
15
initialBaseQuantity
16
initialQuoteQuantity
17
remainingBaseQuantity
18
remainingQuoteQuantity
19
meanExecutionPrice
20
engineMessage
21
}
22
}
23
}
24
}
Copied!

Parameters

  • pair: The currency pair of the orders you want to see
  • status: Either pending, in progress, cancelled, partially filled, successful, or failed
  • side: The order side either buy or sell

Response

  • id: Unique identifier of the order
  • pair: The currency pair of the order
  • price: The price the order was executed at
  • side: The order side either buy or sell
  • status: The status of the orderpending, in_progress, cancelled, successful, failed, partially_filled
  • timeInForce: The timeInForce option of the order
  • orderType: The type of the order either limit_order, market_order
  • fees: The fees incurred for placing the order
  • filled: The amount of the base currency that was filled
  • total: An alias for initial base quantity.
  • initialBaseQuantity: The initial quantity of the base currency
  • initialQuoteQuantity: The initial quantity of the quote currency
  • remainingBaseQuantity: The remaining base quantity that has not been filled.
  • remainingQuoteQuantity: The remaining quote quantity that has not been filled. (Only applies to market buy orders)
  • meanExecutionPrice: The price that an order was executed at if it matched with one other order. The average price if it matched with multiple other orders.
  • engineMessage: The reason why an order failed
Last modified 7mo ago
Copy link
Contents