BTC Daily Candles


#1

Hi!
I am using daily candles and see some source data that doesn’t look right.
image

In the picture it shows the High is lower than the Close. I believe they should be equal if the daily Close = High price for the day.

Here is the raw data for that day: {“timestamp”:“2019-01-06T00:00:00Z”,“low”:“3906.20066”,“open”:“3863.38756”,“close”:“4095.28869”,“high”:“4065.06505”,“volume”:“400455689”}

Thank you!
Mike


#3

Hi Mike,

Thanks for the report. I’m investigating this now.

Nick


#4

Hi Mike,

This was due to a recent update where we started doing a volume weighted average for the high and low instead of the highest high and lowest low when we aggregate across all markets. This reduced our “long wicks” we had before when consistently high or low markets, even if they had low volume, could set an extreme high or low.

The down side was it looks like in some cases the volume weighted average high and low can be inside the open or close values. We fixed those cases, so you should no longer see this issue. Here are the results from the date you specified via our API after this fix:

https://api.nomics.com/v1/candles?key=2018-09-demo-dont-deploy-b69315e440beb145&interval=1d&currency=BTC&start=2019-01-06T00%3A00%3A00Z&end=2019-01-06T00%3A00%3A00Z

[
  {
    "timestamp": "2019-01-06T00:00:00Z",
    "low": "3863.38756",
    "open": "3863.38756",
    "close": "4095.28869",
    "high": "4095.28869",
    "volume": "400455689"
  }
]

#5

Thanks Nick,

Data is looking good!

Mike