API Documentation
API Documentation

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 TypeDescription
 MWAThe 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 TypeIndex IDOutput
 MWA Market IdOHLCV for that market
 GWA Asset IdOHLCV for that coin / asset

Responses


Request Samples:

Production API Server: https://api.bravenewcoin.com/{basePath}/ohlcv

Curl

curl https://api.bravenewcoin.com/v3/ohlcv -H 'Authorization: Bearer test_SiHrnL5NKsea0G2W4LHd' -G

Response samples


200

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