Closed rakanalh closed 5 years ago
As we discussed offline this is due to cryptocompare not having a price for the requested timestamp for NANO
. It seems that NANO
used to be XRB
and that cryptocompare treats them as 2 different coins.
There is prices for a historical period for XRB
and then when it rebranded there are only prices for NANO
and not for XRB
.
So the solution to this is to handle known rebrandings like this in a way that will guarantee a correct price will always be returned.
Was fixed by https://github.com/rotkehlchenio/rotkehlchen/pull/281. Thank you @rakanalh
Problem Definition
Using Rotkehlchen, i was able to import my binance/bittrex accounts and then tried generating a tax report. Apparently, the issue was because NANO was rebranding at some point from Raiblocks (XRB symbol) and cryptocompare does not provide the price of NANO before the rebrand has happened.
The process failed with the following exception:
Potential solution is to fallback to requesting XRB's price before the time of the rebrand.
Rotkehlchen also logs debug information to the
rotkehlchen.log
file. Please attach it to the issue as it may help us find the source of the issue faster.System Description
Running Rotkehlchen from source. Commit: c0b8d42fce8a8833014867db3df8487c5e7d15c3