Trade.mn API
About usContact us
  • API Doc
    • General API Information
    • API Key Setup
    • HTTP Return Codes
    • General Information on Endpoints
    • Endpoint security type
    • SIGNED (TRADE) Endpoint security
      • Timing security
    • Public API Endpoints
      • Terminology
      • ENUM definitions
      • General endpoints
      • Market Data endpoints
        • Order book (USER_DATA)
        • Recent trades list (USER_DATA)
      • Trading endpoints
        • New order (TRADE)
        • Cancel order (TRADE)
        • Current open orders (TRADE)
        • Trade history (TRADE)
      • Wallet endpoints
        • Wallet balance (WALLET)
        • Wallet balance by asset (WALLET)
    • Websocket (Socket.io)
    • Error Codes
    • Postman Collections
Powered by GitBook
On this page

Was this helpful?

  1. API Doc
  2. Public API Endpoints
  3. Trading endpoints

Trade history (TRADE)

GET /api/v3/order/trade/history

Get all account filled orders. (Арилжааны түүх)

Parameters:

Name
Type
Mandatory
Description

symbol

STRING

NO

page

INT

NO

Default: 0

size

INT

NO

Default: 100; max 1000.

timestamp

LONG

YES

Response:

{
  "items": [
    {
      "id": "acb59a7f-62c6-40ae-81e5-c92fb0223352",
      "orderId": "acb59a7f-62c6-40ae-81e5-c92fb0223351",
      "tradeAt": "2006-01-02T17:08:05.279+08:00",
      "symbol": "TRD/MNT",
      "side": "BUY",
      "sideName": "Авах",
      "price": "11",
      "quantity": "100",
      "total": "1100",
      "commission": "0.02",
      "commissionAssetCode": "TRD"
    },
  ],
  "page": 0,
  "size": 100,
  "total_pages": 1,
  "total": 1
}
PreviousCurrent open orders (TRADE)NextWallet endpoints

Last updated 1 year ago

Was this helpful?