Closed TuringZhu closed 3 years ago
@Turing-Chu , the maximum number of candlestick data for each response is limited to 300 according to our document: https://huobiapi.github.io/docs/spot/v1/en/#market-candlestick
Your example of “from”-“to” is about 1 month and I believe it exceed 300 so there will be no data returned.
I run https://github.com/HuobiRDCenter/huobi_Golang/blob/master/cmd/marketwebsocketclientexample/marketwebsocketclientexample.go#L22 code it just get current data. but I want to get hisotry data, e.g.: 2020-10-01 00:00:00 - 2020-11-01 00:00:00,
I have specified
from
andto
params but it does not work.