Closed criptonauta closed 7 years ago
Thanks for your report! I haven't come across a delisted coin yet. I think we would have to know how the delist coin would affect the account.
I'm currently thinking...
That's hard to tell. As far I'm thinking, the last value the delisted coin had at the point it was delisted is the value it will be taken to the account balance. That said, I also don't think it's possible to use these coins for any trading. Therefore the only thing that you can do with them, is to withdraw and send to a foreign wallet.
Does it even make sense to include delisted coins in the account balance, I wonder? What do you guys think?
Does it even make sense to include delisted coins in the account balance, I wonder? What do you guys think?
Sounds like we can count the delisted coin as a null value.
I ran into the same issue with GetDetailedOverview and the solution was just to return no value to the coin.
Proposed fix here https://github.com/BenjiLee/PoloniexAnalyzer/pull/37
In v1.0.0.0:
--Currency=Deposit-Withdrawal=Total- EBT=84420.685385-0=84420.685385 DASH=0.05-0=0.05 XCP=85.55534115-0=85.55534115 REP=244.11774949-0=244.11774949 BTC=0.61546581-0.89108816=-0.27562235 Traceback (most recent call last): File "poloniex.py", line 64, in
I'll try the p3 version and will reply after the test.
Thanks!
Results of Py3 version:
--Currency=Deposit-Withdrawal=Total-
XCP=85.55534115-0=85.55534115
BTC=0.61546581-0.8910881599999998=-0.2756223499999998
REP=244.11774949-0=244.11774949
EBT=84420.685385-0=84420.685385
DASH=0.05-0=0.05
Traceback (most recent call last):
File "poloniex.py", line 73, in
@criptonauta You need to checkout the branch called delisted
. Please leave comments on https://github.com/BenjiLee/PoloniexAnalyzer/pull/37
https://github.com/BenjiLee/PoloniexAnalyzer/pull/37 has been merged.
Hi guys
I still don't know how you solved the problem.
I'm trying in another account that had (now delisted) BBR and the error persists:
Currency=Deposit-Withdrawal=Total-
BTC=0.007861-0=0.007861
Traceback (most recent call last):
File "poloniex.py", line 73, in
@criptonauta that was a new bug I introduced recently >.<
I fixed it https://github.com/BenjiLee/PoloniexAnalyzer/commit/e986951ef40e813d6c236fed679c19f8a26ef723
This is probably a good time to add unit tests :/
Hi Guys! I wish it had that much profit, but not yet ^^
Hi Benji!
When I use GetOverview with an API that have on its account a delisted currency in trade history, I get the following error.
Is it possible to deselect coins or just remove one in particular?
BR