We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f42a374 commit 61a6576Copy full SHA for 61a6576
bot/crypto.py
@@ -56,7 +56,7 @@ def get_currency_change(tickers):
56
57
def format_report(report):
58
msg = "#### Marché actuel:\n"
59
- currency_change = 1/get_currency_change(report['tickers'])
+ currency_change = get_currency_change(report['tickers'])
60
for symbol, qty in report['balances'].items():
61
ticker = get_ticker(report['tickers'], symbol)
62
value = round(qty*ticker*currency_change,2)
0 commit comments