You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within bittytax.conf you can change the mapping of symbols to asset IDs. So if you notice that BittyTax has the wrong asset & price for one of your assets, you then edit bittytax.conf to override the mapping of that symbol. However, if you do not manually delete the price cache, BittyTax continues to use the cached pricing data for the wrong mapping.
To reproduce, try the following:
> bittytax_price historic WMATIC 2021-09-17
WARNING Price for WMATIC on 2021-09-17 is not available
It fails because BittyTax has mapped WMATIC to "Wrapped Matic Tezos" on CoinGecko instead of the normal "Wrapped Matic" (on Polygon). The Tezos version did not exist on the date requested. See issue #238 for improving default asset mapping.
Now add the following line to bittytax.conf within data_source_select which points BittyTax to the intended asset:
'WMATIC': ['CoinGecko:wmatic']
Try the console again:
> bittytax_price historic WMATIC 2021-09-17
WARNING Price for WMATIC on 2021-09-17 is not available
The cached data is still being used despite the config change.
Now delete the cache folder in your home directory and run the terminal again:
Store the modified date (or hash) of bittytax.conf in the cache. Then every time bittytax starts, check if these still match, else the config has been changed so delete the cache folder.
The text was updated successfully, but these errors were encountered:
Within
bittytax.conf
you can change the mapping of symbols to asset IDs. So if you notice that BittyTax has the wrong asset & price for one of your assets, you then editbittytax.conf
to override the mapping of that symbol. However, if you do not manually delete the price cache, BittyTax continues to use the cached pricing data for the wrong mapping.To reproduce, try the following:
It fails because BittyTax has mapped WMATIC to "Wrapped Matic Tezos" on CoinGecko instead of the normal "Wrapped Matic" (on Polygon). The Tezos version did not exist on the date requested. See issue #238 for improving default asset mapping.
Now add the following line to
bittytax.conf
withindata_source_select
which points BittyTax to the intended asset:Try the console again:
The cached data is still being used despite the config change.
Now delete the
cache
folder in your home directory and run the terminal again:Possible solutions:
bittytax.conf
in the cache. Then every time bittytax starts, check if these still match, else the config has been changed so delete the cache folder.The text was updated successfully, but these errors were encountered: