diff --git a/backtest.py b/backtest.py index 2659ed3c3..ecde9530b 100644 --- a/backtest.py +++ b/backtest.py @@ -8,8 +8,8 @@ btc_value = manager.collate_coins("BTC") bridge_value = manager.collate_coins(manager.config.BRIDGE.symbol) history.append((btc_value, bridge_value)) - btc_diff = round((btc_value - history[0][0]) / history[0][0], 3) - bridge_diff = round((bridge_value - history[0][1]) / history[0][1], 3) + btc_diff = round((btc_value - history[0][0]) / history[0][0] * 100, 3) + bridge_diff = round((bridge_value - history[0][1]) / history[0][1] * 100, 3) print("------") print("TIME:", manager.datetime) print("BALANCES:", manager.balances)