BenjiLee/PoloniexAnalyzer

name 'current' is not defined

Closed this issue · 2 comments

If USDT/BTC trades only in history.

python3 poloniex.py -a GetDetailedOverview
Warning! If you made non BTC trades, for example, ETH to ETC, some
of the values may look unusual. Since non BTC trades have not been
calculated in.
Traceback (most recent call last):
File "poloniex.py", line 73, in
main()
File "poloniex.py", line 65, in main
actions[args.action]'function'
File "/home/stitrace/PoloniexAnalyzer/analyzer.py", line 86, in get_detailed_overview
return current
NameError: name 'current' is not defined

@stitrace I haven't calculated in trades where BTC is the base coin. USDT/BTC uses USDT as the base coin so there would be no results. The error you see is actually at the end of the analysis so it doesn't mean much.

Hang tight. Looking at issues to tackle to today. This is up next.

@stitrace
Hopefully fixed in #54