Address
/openApi/market/gears_depth
Receiving parameter
Submit
Example
curl -d /openApi/market/gears_depth
Submit parameter
ParamName |
Y/N |
Type |
Example |
Description |
symbol |
Yes |
string |
BTC-USDT |
Trading pair |
depth |
Yes |
float |
0.0001 |
Depth(0.0001,0.00001,0.000001) |
Return parameter
ParamName |
Y/N |
Type |
Example |
Description |
errno |
Yes |
int |
0 |
Status code |
errmsg |
Yes |
success |
success |
Status information |
result |
Yes |
array |
see the example |
Return result |
RESULT Instructions
ParamName |
Y/N |
Type |
Example |
Description |
ts |
Yes |
int |
1499184000 |
Data acquisition time |
symbol |
Yes |
string |
BTC-USDT |
Trading pair |
asks |
Yes |
object-array |
See the example |
Selling, gear, price, amount, ascending by price |
bids |
Yes |
object-array |
See the example |
Buying,gear, price, amount, descending by price |
Return example
{
"errno": 0,
"errmsg": "success",
"result": {
"symbol":"EOS-USDT",
"ts":1499223904680,
"asks":[
{
"gear": "1",
"price": 6322.22,
"number": 0.0041
}
],
"bids":[
{
"gear": "1",
"price": 6322.22,
"number": 0.0041
}
]
}
}
}
{
"errno": 10010,
"errmsg": "Failed"
}
Comments
0 comments
Article is closed for comments.