robin_stocks icon indicating copy to clipboard operation
robin_stocks copied to clipboard

Crypto history volume always 0

Open schwaa opened this issue 4 years ago • 1 comments

When I get RH crypto historicals the volume value is always 0. That is less than ideal for algo trading.

doge_history=rh.crypto.get_crypto_historicals("ETH",interval='5minute',span='hour') dh = pd.DataFrame.from_dict(doge_history) print(dh.iloc[-3:])

begins_at open_price close_price high_price low_price \ 9 2021-05-16T13:55:00Z 3710.080000 3730.620000 3753.670000 3693.570000 10 2021-05-16T14:00:00Z 3744.970000 3717.280000 3746.535000 3690.355000 11 2021-05-16T14:05:00Z 3732.835000 3719.925000 3743.285000 3698.340000 volume session interpolated symbol 9 0 reg False ETHUSD 10 0 reg False ETHUSD 11 0 reg False ETHUSD

The formatting is bad, sorry about that, I'm not sure who to fix it, but the volume column is always 0. I tried 10min spans for day, week, also always 0.

schwaa avatar May 16 '21 14:05 schwaa

The volume is always "0" for cryptos, through robin hood at least. I looked at the data on robinhoood's website through a web inspector, and the volume is always set to 0. I'm not sure if volume data is often provided for cryptocurrencies, at least in short windows.

dankdon avatar Aug 21 '22 17:08 dankdon