altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 186 forks source link

How to interpret timestampMs property #309

Closed sribna closed 2 years ago

sribna commented 2 years ago

Since Candle object has "close" price property, I assume timestampMs denotes the closing time? So, to get the opening time, I need to subtract the value from CandlePeriod properties (1m for Binance)? I'm right?