Initial commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id":675,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.5",
|
||||
"avg_price":"0.5",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":599,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.5",
|
||||
"avg_price":"0.5",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=bchbtc.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=bchbtc.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=bchzar.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=bchzar.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"bchzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":161,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":171,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":181,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=btczar.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=btczar.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=dashbtc.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=dashbtc.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=dashzar.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=dashzar.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"dashzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=ethbtc.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=ethbtc.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id": 7063,
|
||||
"side": "buy",
|
||||
"ord_type": "limit",
|
||||
"price": "10.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "cancel",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:16:28+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
},
|
||||
{
|
||||
"id": 7064,
|
||||
"side": "sell",
|
||||
"ord_type": "limit",
|
||||
"price": "20.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "cancel",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:18:20+01:00",
|
||||
"origin_volume": "2.0",
|
||||
"remaining_volume": "2.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id": 7063,
|
||||
"side": "buy",
|
||||
"ord_type": "limit",
|
||||
"price": "10.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "done",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:16:28+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
},
|
||||
{
|
||||
"id": 7064,
|
||||
"side": "sell",
|
||||
"ord_type": "limit",
|
||||
"price": "20.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "done",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:18:20+01:00",
|
||||
"origin_volume": "2.0",
|
||||
"remaining_volume": "2.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id": 7063,
|
||||
"side": "buy",
|
||||
"ord_type": "limit",
|
||||
"price": "10.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:16:28+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
},
|
||||
{
|
||||
"id": 7064,
|
||||
"side": "sell",
|
||||
"ord_type": "limit",
|
||||
"price": "20.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:18:20+01:00",
|
||||
"origin_volume": "2.0",
|
||||
"remaining_volume": "2.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
]
|
||||
37
mocks/api/v2/dena/market/orders/GET--market=ethusd.mock
Normal file
37
mocks/api/v2/dena/market/orders/GET--market=ethusd.mock
Normal file
@@ -0,0 +1,37 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id": 7063,
|
||||
"side": "buy",
|
||||
"ord_type": "limit",
|
||||
"price": "10.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:16:28+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
},
|
||||
{
|
||||
"id": 7064,
|
||||
"side": "sell",
|
||||
"ord_type": "limit",
|
||||
"price": "20.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:18:20+01:00",
|
||||
"origin_volume": "2.0",
|
||||
"remaining_volume": "2.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=ethzar.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=ethzar.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=eurusd.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=eurusd.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"eurusd",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=ltcbtc.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=ltcbtc.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltcbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=ltczar.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=ltczar.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ltczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=xrpbtc.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=xrpbtc.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162432,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162421,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162543,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpbtc",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"done",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
48
mocks/api/v2/dena/market/orders/GET--market=xrpzar.mock
Normal file
48
mocks/api/v2/dena/market/orders/GET--market=xrpzar.mock
Normal file
@@ -0,0 +1,48 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{"id":162167,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162119,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{"id":162003,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"xrpzar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,34 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{ "id":16,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{ "id":162,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
358
mocks/api/v2/dena/market/orders/GET--page=1&limit=25.mock
Normal file
358
mocks/api/v2/dena/market/orders/GET--page=1&limit=25.mock
Normal file
@@ -0,0 +1,358 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id":999,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":534,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":166452,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":645,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":16456,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":17662,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":16972,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":1676,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":169782,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":160002,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":1006,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":162342,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":16552,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":1665447,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":168672,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":1687872,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":178786,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":168792,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":16642,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":13456,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":1656892,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":156952,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":15668,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":162742,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":1625472,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
50
mocks/api/v2/dena/market/orders/GET--page=2&limit=25.mock
Normal file
50
mocks/api/v2/dena/market/orders/GET--page=2&limit=25.mock
Normal file
@@ -0,0 +1,50 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{
|
||||
"id":675,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.5",
|
||||
"avg_price":"0.5",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":101,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.5",
|
||||
"avg_price":"0.5",
|
||||
"state":"wait",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{
|
||||
"id":102,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.5",
|
||||
"avg_price":"0.5",
|
||||
"state":"wait",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
22
mocks/api/v2/dena/market/orders/GET.mock
Normal file
22
mocks/api/v2/dena/market/orders/GET.mock
Normal file
@@ -0,0 +1,22 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
|
||||
[
|
||||
{ "id":1,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"50",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
6
mocks/api/v2/dena/market/orders/OPTIONS.mock
Normal file
6
mocks/api/v2/dena/market/orders/OPTIONS.mock
Normal file
@@ -0,0 +1,6 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
@@ -0,0 +1,24 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
|
||||
{
|
||||
"id": 7070,
|
||||
"side": "buy",
|
||||
"ord_type": "market",
|
||||
"price": null,
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:34:44+01:00",
|
||||
"origin_volume": "0.5",
|
||||
"remaining_volume": "0.5",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
|
||||
{
|
||||
"id": 7070,
|
||||
"side": "buy",
|
||||
"ord_type": "market",
|
||||
"price": null,
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:34:44+01:00",
|
||||
"origin_volume": "0.5",
|
||||
"remaining_volume": "0.5",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
HTTP/2 200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
{
|
||||
"id": 7063,
|
||||
"side": "buy",
|
||||
"ord_type": "limit",
|
||||
"price": "10.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:16:28+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
|
||||
{
|
||||
"id": 7070,
|
||||
"side": "buy",
|
||||
"ord_type": "market",
|
||||
"price": null,
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:34:44+01:00",
|
||||
"origin_volume": "0.5",
|
||||
"remaining_volume": "0.5",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
{
|
||||
"id": 7063,
|
||||
"side": "buy",
|
||||
"ord_type": "limit",
|
||||
"price": "10.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:16:28+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
{
|
||||
"id": 7071,
|
||||
"side": "sell",
|
||||
"ord_type": "market",
|
||||
"price": null,
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:36:21+01:00",
|
||||
"origin_volume": "1.0",
|
||||
"remaining_volume": "1.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
|
||||
|
||||
{
|
||||
"id": 7064,
|
||||
"side": "sell",
|
||||
"ord_type": "limit",
|
||||
"price": "20.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:18:20+01:00",
|
||||
"origin_volume": "2.0",
|
||||
"remaining_volume": "2.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
24
mocks/api/v2/dena/market/orders/POST.mock
Normal file
24
mocks/api/v2/dena/market/orders/POST.mock
Normal file
@@ -0,0 +1,24 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: content-type, x-csrf-token
|
||||
|
||||
|
||||
|
||||
{
|
||||
"id": 7064,
|
||||
"side": "sell",
|
||||
"ord_type": "limit",
|
||||
"price": "20.0",
|
||||
"avg_price": "0.0",
|
||||
"state": "wait",
|
||||
"market": "ethusd",
|
||||
"created_at": "2018-12-14T11:18:20+01:00",
|
||||
"origin_volume": "2.0",
|
||||
"remaining_volume": "2.0",
|
||||
"executed_volume": "0.0",
|
||||
"trades_count": 0
|
||||
}
|
||||
6
mocks/api/v2/dena/market/orders/__/cancel/OPTIONS.mock
Normal file
6
mocks/api/v2/dena/market/orders/__/cancel/OPTIONS.mock
Normal file
@@ -0,0 +1,6 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
access-control-allow-origin: *
|
||||
access-control-allow-methods: GET, POST, PUT, PATCH, DELETE
|
||||
access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept, Authorization
|
||||
Access-Control-Allow-Headers: *
|
||||
6
mocks/api/v2/dena/market/orders/__/cancel/POST.mock
Normal file
6
mocks/api/v2/dena/market/orders/__/cancel/POST.mock
Normal file
@@ -0,0 +1,6 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
access-control-allow-origin: *
|
||||
access-control-allow-methods: GET, POST, PUT, PATCH, DELETE
|
||||
access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept, Authorization
|
||||
Access-Control-Allow-Headers: *
|
||||
5
mocks/api/v2/dena/market/orders/cancel/OPTIONS.mock
Normal file
5
mocks/api/v2/dena/market/orders/cancel/OPTIONS.mock
Normal file
@@ -0,0 +1,5 @@
|
||||
HTTP/2 200
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
49
mocks/api/v2/dena/market/orders/cancel/POST.mock
Normal file
49
mocks/api/v2/dena/market/orders/cancel/POST.mock
Normal file
@@ -0,0 +1,49 @@
|
||||
HTTP/2 201
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
|
||||
Access-Control-Max-Age: 3600
|
||||
Access-Control-Allow-Credentials: true
|
||||
Access-Control-Allow-Headers: *
|
||||
|
||||
[
|
||||
{ "id":162,
|
||||
"side":"buy",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-29T16:54:46+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{ "id":16,
|
||||
"side":"sell",
|
||||
"ord_type":"limit",
|
||||
"price":"0.3",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"ethbtc",
|
||||
"created_at":"2018-11-20T10:24:48+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
},
|
||||
{ "id":162,
|
||||
"side":"buy",
|
||||
"ord_type":"market",
|
||||
"price":"0.1",
|
||||
"avg_price":"0.4",
|
||||
"state":"cancel",
|
||||
"market":"btczar",
|
||||
"created_at":"2018-11-09T13:21:55+01:00",
|
||||
"origin_volume":"123.1234",
|
||||
"remaining_volume":"123.1234",
|
||||
"executed_volume":"0.0",
|
||||
"trades_count":0
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user