Closed masalinas closed 7 years ago
Same issue here. Might be an issue at API end. Not sure if we are using right parameter name for startTime. Please try hitting below link directly, https://bittrex.com/Api/v2.0/pub/market/GetTicks?marketName=BTC-LUN&tickInterval=fiveMin&startTime=1503680400
startTime filter does not work at all.
The attribute startTime not works, only if you change the tickInterval from minute to hour and day the time interval incrise, but the attribute startTime not works, and the problem is that not exist any documentation about this API.
duplicate of #53 and fixed in #55
I made some tests with the getcandles API but I don't understand the results. Example:
market: 'BTC-LTC' tickInterval: 'day' starTimestamp: '2017-08-01T00:00:00.000Z'
If I'm not wrong, from starTimestamp to Now (2017-08-25T00:00:00.000Z) exist 25 days so we must obtain 25 candles because I selected 'day' like tickInterval, but I obtain 1266 candles from these dates: 2014-03-07T00:00:00 to 2017-08-25T00:00:00.
This is my code, where market, tickInterval and startTimestamp are variables, I discovered that tickInterval could be: 'oneMin', 'fiveMin', 'thirtyMin, 'hour', 'day'.
startTimestamp is a Date object of course.
The result
What is wrong???
Regards