Skip to content

Commit

Permalink
More formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hammertoe committed Mar 1, 2019
1 parent b15f6b9 commit 4d9dfcb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crypto_balancer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ def exchange_choices():
print()
print(" Total value: {:.2f} {}".format(portfolio.valuation_quote,
portfolio.quote_currency))
print(" Balance error: {:.2g}".format(
res['proposed_portfolio'].balance_rmse))
print(" Balance error: {:.2g} / {:.2g}".format(
res['proposed_portfolio'].balance_rmse,
threshold))

total_fee = '%s' % float('%.4g' % res['total_fee'])
print(" Total fees to re-balance: {} {}"
Expand Down

0 comments on commit 4d9dfcb

Please sign in to comment.