update stock example

This commit is contained in:
Asim Aslam
2021-06-29 13:27:47 +01:00
parent 3e3d2810f8
commit f1b118c38c
4 changed files with 45 additions and 31 deletions

View File

@@ -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"
}
]
}