Bitcoin Forum

Bitcoin => Electrum => Topic started by: MoparMiningLLC on August 20, 2020, 09:49:15 PM



Title: USD Acquisition price and USD capital gains stopped when upgrading to 4.0.2
Post by: MoparMiningLLC on August 20, 2020, 09:49:15 PM
as the subject says - the USD Acquisition price and USD capital gains stopped when I upgraded to 4.0.2 - I do have it turned on and have tried all the sources.

https://i.ibb.co/8bmcg1Z/Capture.jpg (https://ibb.co/FXhV4RT)

It worked perfectly before the upgrade - which I tried to downgrade but an older version of electrum cannot open my wallet.dat files


Title: Re: USD Acquisition price and USD capital gains stopped when upgrading to 4.0.2
Post by: BitMaxz on August 20, 2020, 10:28:25 PM
It seems that they currently disable it because I have that option before on the low version of Electrum but right now I can't able to enable it in the settings.

Look:

https://i.imgur.com/w5CctLM.png

I tried to search on Google why they disable it but I can't find an answer.



If you have a seed phrase you can use it to recover your wallet if the wallet file doesn't work on low version of Electrum.


Title: Re: USD Acquisition price and USD capital gains stopped when upgrading to 4.0.2
Post by: hosseinimr93 on August 20, 2020, 10:44:08 PM
It seems that they currently disable it because I have that option before on the low version of Electrum but right now I can't able to enable it in the settings.
First, check "show history rates". After that, you will be able to check "show capital gains in history".

https://i.imgur.com/OA14CO7.jpg


Title: Re: USD Acquisition price and USD capital gains stopped when upgrading to 4.0.2
Post by: MoparMiningLLC on August 21, 2020, 12:42:41 AM
mine are enabled - you did see my screen shot above right? I have the dark theme here it is in the light theme.

https://i.ibb.co/PZPvjQR/Capture.jpg (https://ibb.co/hR4J9fk)

I dont have a problem turning it on/off - I just dont get anything either way and it doesnt matter the source, none work.


Title: Re: USD Acquisition price and USD capital gains stopped when upgrading to 4.0.2
Post by: pooya87 on August 21, 2020, 04:12:30 AM
I tried to search on Google why they disable it but I can't find an answer.

you should always check the source code first, everything is there to see. you don't have to really understand python either (i don't!).
here is the line linking the capgain box to history box's checked state: https://github.com/spesmilo/electrum/blob/9700e6112b8e1e91bf089ffbdcd315efd69f5525/electrum/gui/qt/settings_dialog.py#L369


Title: Re: USD Acquisition price and USD capital gains stopped when upgrading to 4.0.2
Post by: nc50lc on August 21, 2020, 04:22:50 AM
The issue was reported by someone months ago but the devs never replied: Issue: 6370 (https://github.com/spesmilo/electrum/issues/6370)
For CoinGecko's API's response to history rates, it seems to be working when I test it, other sources won't work for Electrum either.
So, the "source" might not be the culprit.

There's nothing else you can do but to wait for the developers to respond to the issue.