Initial commit
This commit is contained in:
8
mocks/api/v2/dena/public/markets/bchzar/depth/GET.mock
Normal file
8
mocks/api/v2/dena/public/markets/bchzar/depth/GET.mock
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
|
||||
#import './script.js';
|
||||
@@ -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
|
||||
26
mocks/api/v2/dena/public/markets/bchzar/depth/script.js
Normal file
26
mocks/api/v2/dena/public/markets/bchzar/depth/script.js
Normal file
@@ -0,0 +1,26 @@
|
||||
var ts = parseInt(Date.now() / 1000);
|
||||
|
||||
module.exports = {
|
||||
"timestamp": ts,
|
||||
"asks":
|
||||
[
|
||||
["0.99","1"],
|
||||
["0.98","20"],
|
||||
["0.96","1"],
|
||||
["0.80","1"],
|
||||
["0.75","1"],
|
||||
["0.70","1"],
|
||||
["0.60","0.1"]
|
||||
],
|
||||
"bids":
|
||||
[
|
||||
["0.50","0.041"],
|
||||
["0.49","0.5"],
|
||||
["0.48","0.2"],
|
||||
["0.47","0.1"],
|
||||
["0.30","10"],
|
||||
["0.28","2"],
|
||||
["0.27","5"],
|
||||
["0.26","25"]
|
||||
]
|
||||
}
|
||||
8
mocks/api/v2/dena/public/markets/bchzar/k-line/GET.mock
Normal file
8
mocks/api/v2/dena/public/markets/bchzar/k-line/GET.mock
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
|
||||
#import '../../k-line.js';
|
||||
@@ -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
|
||||
19
mocks/api/v2/dena/public/markets/bchzar/trades/GET.mock
Normal file
19
mocks/api/v2/dena/public/markets/bchzar/trades/GET.mock
Normal file
@@ -0,0 +1,19 @@
|
||||
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":53,"price":3000,"amount":1,"total":3000,"market":"bchzar","created_at":1595235146,"taker_type":"buy"},
|
||||
{"id":52,"price":2935,"amount":105.7314,"total":310321.659,"market":"bchzar","created_at":1595022413,"taker_type":"buy"},
|
||||
{"id":51,"price":2935,"amount":128.7715,"total":377944.3525,"market":"bchzar","created_at":1595022412,"taker_type":"sell"},
|
||||
{"id":50,"price":3015,"amount":4,"total":12060,"market":"bchzar","created_at":1595022372,"taker_type":"buy"},
|
||||
{"id":49,"price":2935,"amount":4,"total":11740,"market":"bchzar","created_at":1595021816,"taker_type":"sell"},
|
||||
{"id":48,"price":3010,"amount":4,"total":12040,"market":"bchzar","created_at":1595021692,"taker_type":"buy"},
|
||||
{"id":47,"price":3015,"amount":5,"total":15075,"market":"bchzar","created_at":1595017688,"taker_type":"buy"},
|
||||
{"id":46,"price":3015,"amount":12.1883,"total":36747.7245,"market":"bchzar","created_at":1595012890,"taker_type":"buy"},
|
||||
{"id":45,"price":3015,"amount":7.1883,"total":21672.7245,"market":"bchzar","created_at":1595008724,"taker_type":"buy"},
|
||||
{"id":44,"price":3015,"amount":5,"total":15075,"market":"bchzar","created_at":1595008632,"taker_type":"sell"}
|
||||
]
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user