Get End Of Day Open, High, Low, Close, Volume
Get end of day open, high, low, close and volumes (OHLCV) for market weighted averages (MWA) or global weighted averages (GWA). The 24hr period for end of day is 00:00:00 UTC.
This API provides the open, high, low, close and volume using the index type provided. If no timestamp is provided, then only the latest values are returned.
Currently the following types of indices are supported -
Index Type | Description |
MWA | The Market Weighted Averages |
GWA | The Global Weighted Averages |
Each index type will have an index id which identifies the constituent type used to build the index -
Index Type | Index ID | Output |
MWA | Market Id | OHLCV for that market |
GWA | Asset Id | OHLCV for that coin / asset |
Responses
Request Samples:
Production API Server: https://api.bravenewcoin.com/{basePath}/ohlcv
curl https://api.bravenewcoin.com/v3/ohlcv -H 'Authorization: Bearer test_SiHrnL5NKsea0G2W4LHd' -G
Response samples
Content Type
application/json
{- "content": [- {"id": "string","indexId": "string","indexType": "MWA","timestamp": "2019-12-03T00:51:18Z","open": "string","close": "string","high": "string","low": "string","volume": "string","volumeUsd": "string","vwap": "string","twap": "string"}],"nextId": "string"}