openOrders

This method gives the list of current open orders (buy and sell).

ParameterRequiredValueDescription

pair

No

btc_idr, ltc_btc, doge_btc, etc

Pair to get the information from

Body JSON
{
    "method": "openOrders",
    "timestamp": "1578304294000",
    "recvWindow": "1578303937000",
    "pair" : "btc_idr"   
}

POST https://us-central1-appgregator.cloudfunctions.net/indodax/method/

Query Parameters

NameTypeDescription

name*

String

qantor.co.id

connection_name*

String

crypto01

Headers

NameTypeDescription

x-api-key*

String

U2Fsd...

secret-key*

String

84c7373b....(your indodax secret key)

{
    "success": 1,
    "return": {
        "orders": [
            {
                "order_id": "59639504",
                "submit_time": "1578648363",
                "price": "100207000",
                "type": "buy",
                "order_idr": "33605800",
                "remain_idr": "33605800"
            }
        ]
    }
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/indodax/method/?name=qantor.co.id&connection_name=crypto01' \
--header 'secret-key: 84c7373...' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
    "method": "openOrders",
    "timestamp": "1578304294000",
    "recvWindow": "1578303937000",
    "pair" : "btc_idr"   
}'

Last updated