satang-api
  • Introduction
  • Authentication
  • Sign Request Example
    • Javascript
    • Python
    • Golang
  • APIs
    • Public
      • Orders
    • Private
      • Deposits
      • Crypto Deposits
      • User/Wallet
      • Orders
    • Portal (Obsoleted)
  • APIs V3
    • General information
      • Kline Chart Interval
      • Authorization
        • Endpoint Security types
    • Public
      • Exchange Information
      • Depth
      • Kline/Candlestick data
      • Ticker
      • Aggregate trade
    • Private
      • Orders
      • Listen Key
    • Websockets
      • General WSS information
      • User Data Streams
      • Streams
        • Aggregate trade
        • Depth
        • Kline
        • Ticker
  • Satang.pro SDK
Powered by GitBook
On this page

Was this helpful?

  1. APIs V3
  2. Private

Orders

NOTE: This endpoint requires API key and request signing, for more information please refer to Authentication section.

Query Order

GET htts://satangcorp.com/api/v3/orders

Check an order's status.

Query Parameters

Name
Type
Description

pair

string

A string representing paring, can be 'btc_thb' 'eth_thb' ...

orderId

number

Order ID

Headers

Name
Type
Description

Signature

string

This field require encrypt of API key and API Secret

Authorization

string

This field require API key

{
    "symbol": "btc_thb",
    "orderId": 7,
    "orderListId": -1,
    "clientOrderId": "",
    "price": "1",
    "origQty": "0",
    "origQuoteOrderQty": "2",
    "executedQty": "0",
    "cummulativeQuoteQty": "0",
    "status": "NEW",
    "timeInForce": "IOC",
    "type": "MARKET",
    "side": "BUY",
    "stopPrice": "0",
    "icebergQty": "0",
    "time": 1596439026959,
    "updateTime": 1596439026959,
    "isWorking": true
}
{
    "Code": "not_found",
    "Message": "",
    "Op": [
        "get_order_by_id"
    ]
}

PreviousPrivateNextListen Key

Last updated 4 years ago

Was this helpful?