mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 22:15:24 +00:00
update stock example
This commit is contained in:
@@ -47,28 +47,35 @@
|
||||
"description": "Returns historic order book for a given date",
|
||||
"request": {
|
||||
"stock": "AAPL",
|
||||
"date": "2020-10-01"
|
||||
"date": "2020-10-01",
|
||||
"start": "2020-10-01T10:00:00Z",
|
||||
"end": "2020-10-01T11:00:00Z",
|
||||
"limit": 3
|
||||
},
|
||||
"response": {
|
||||
"symbol": "AAPL",
|
||||
"date": "2020-10-01",
|
||||
"orders": [
|
||||
{
|
||||
"bid_price": 101,
|
||||
"bid_size": 112,
|
||||
"timestamp": "2020-10-01T08:00:00.037685138Z"
|
||||
"ask_price": 117.49,
|
||||
"bid_price": 117.3,
|
||||
"ask_size": 1,
|
||||
"bid_size": 1,
|
||||
"timestamp": "2020-10-01T10:00:02.672770187Z"
|
||||
},
|
||||
{
|
||||
"bid_price": 116.52,
|
||||
"bid_size": 1,
|
||||
"timestamp": "2020-10-01T08:00:00.053150454Z"
|
||||
"ask_price": 117.47,
|
||||
"bid_price": 117.35,
|
||||
"ask_size": 2,
|
||||
"bid_size": 1,
|
||||
"timestamp": "2020-10-01T10:00:33.258111144Z"
|
||||
},
|
||||
{
|
||||
"ask_price": 116.92,
|
||||
"bid_price": 116.7,
|
||||
"ask_size": 1,
|
||||
"bid_size": 3,
|
||||
"timestamp": "2020-10-01T08:00:17.417598642Z"
|
||||
"ask_price": 117.47,
|
||||
"bid_price": 117.3,
|
||||
"ask_size": 2,
|
||||
"bid_size": 2,
|
||||
"timestamp": "2020-10-01T10:00:33.386282508Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user