golang-bittrex-api icon indicating copy to clipboard operation
golang-bittrex-api copied to clipboard

timestamp for GetTicks not working

Open apobekiaris opened this issue 7 years ago • 6 comments

I tried the url you have in your docs

https://bittrex.com/Api/v2.0/pub/market/GetTicks?marketName=BTC-CVC&tickInterval=thirtyMin&_=1500915289433

1500915289433 stands for 2017-07-24T16:54:49.4330000Z however the result first item is 2017-11-01T09:00:00. Do I miss something?

apobekiaris avatar Dec 11 '17 08:12 apobekiaris

that's because that timestamp is only for certificate purpose, it is not actually used to filter :(

saniales avatar Dec 12 '17 11:12 saniales

so how others e.g. tradingview do the filtering?

apobekiaris avatar Dec 12 '17 13:12 apobekiaris

Manually

saniales avatar Dec 12 '17 18:12 saniales

I m not sure I understand your answer, do you mean that tradingview imports historical trades for all symbols manually?

apobekiaris avatar Dec 12 '17 18:12 apobekiaris

They use timestamp value in each candle and recreate new candles, this is why you have more timeframes than bittrex :)

saniales avatar Dec 13 '17 11:12 saniales

thnks for the answers but I am still confused. What I want is to get all trades for a symbol since it is first listed and I can create the candles myself. As I mentioned in the begging of the tread I tried the GetTicks method however I could not find a way to get the trades since day 1

apobekiaris avatar Dec 13 '17 11:12 apobekiaris