binance-api-node icon indicating copy to clipboard operation
binance-api-node copied to clipboard

fix: futures candles startTime inconsistency

Open jinusean opened this issue 3 years ago • 1 comments

Fixes the inconsistency where client.futuresCandles is the only endpoint to return the candle's opening time as 'startTime'; all other endpoints has the property name 'openTime'.

Also updated the README.md as an added bonus.

jinusean avatar Jul 22 '22 08:07 jinusean

As this would be a breaking change, I believe you could return both to avoid some issues

balthazar avatar Jul 24 '22 13:07 balthazar