update examples

This commit is contained in:
Asim Aslam
2021-06-20 18:27:40 +01:00
parent bbbf6d85a4
commit 9605069373

View File

@@ -8,7 +8,7 @@
}, },
"response": { "response": {
"symbol": "BTCUSD", "symbol": "BTCUSD",
"price": 131.265 "price": 34682.74
} }
}], }],
"quote": [{ "quote": [{
@@ -19,27 +19,27 @@
}, },
"response": { "response": {
"symbol": "BTCUSD", "symbol": "BTCUSD",
"ask": 131.12, "ask_price": 34679.87,
"bid": 131.11, "bid_price": 34679.86,
"ask_size": 7, "ask_size": 0.595412,
"bid_size": 4, "bid_size": 0.122235,
"timestamp": "2021-06-18T13:49:23.678Z" "timestamp": "2021-06-20T17:25:50.772Z"
} }
}], }],
"history": [{ "history": [{
"title": "Get historic data", "title": "Get previous close",
"description": "Returns historic cryptocurrency data for a given date", "description": "Returns the history for the previous close",
"request": { "request": {
"coin": "BTCUSD", "symbol": "BTCUSD"
"date": "2020-10-01"
}, },
"response": { "response": {
"symbol": "BTCUSD", "symbol": "btcusd",
"open": 117.64, "open": 35483.72,
"close": 116.79, "close": 34470.8,
"high": 117.72, "high": 35922,
"low": 115.83, "low": 33336,
"date": "2020-10-01" "volume": 66202.264956,
"date": "2021-06-20"
} }
}] }]
} }