πŸ”’Get Order History

Get order history by filters

GET https://api.staging.dexilon.io/api/v1/orders/history

Weight: 10

Query Parameters

Name
Type
Description

symbol

String

Symbol name

type

Enum

Type of order: LIMIT, MARKET

side

Enum

Side of order: BUY, SELL

statuses

List<Enum>

Order statuses.

Example: PARTIALLY_EXECUTED, EXECUTED, CANCELED, LIQUIDATED

dateFrom

Date

dateTo

Date

page*

Integer

Number of page

size

Integer

Number of returned orders

{
  "size" : 20,
  "totalPages" : 1,
  "totalElements" : 2,
  "content" : [ {
    "symbol" : "matic_usdt",
    "amount" : 355,
    "side" : "SELL",
    "orderId" : 540603204,
    "price" : 0.956003,
    "clientOrderId" : "1dc17102-2a57-424a-952b-44c18b849f21",
    "averageExecutionPrice" : 0.956003,
    "filled" : 350,
    "time" : 1670240315627,
    "type" : "LIMIT",
    "status" : "CANCELED"
  }, {
    "symbol" : "matic_usdt",
    "amount" : 230,
    "side" : "BUY",
    "orderId" : 439025912,
    "price" : 0.900003,
    "clientOrderId" : "v34mf001-2af3-024s-152c-4kfmg4849hfd45",,
    "averageExecutionPrice" : 0.900003,
    "filled" : 230,
    "time" : 1670240315627,
    "type" : "LIMIT",
    "status" : "EXECUTED"
  } ]
}

Last updated