diff --git a/cycles/backtest.py b/cycles/backtest.py index f90800b..756a699 100644 --- a/cycles/backtest.py +++ b/cycles/backtest.py @@ -32,6 +32,7 @@ class Backtest: entry_price = 0 usd = initial_usd coin = 0 + trade_log = [] max_balance = initial_usd drawdowns = [] diff --git a/main.py b/main.py index f0ab812..b80ec37 100644 --- a/main.py +++ b/main.py @@ -163,7 +163,7 @@ def get_nearest_price(df, target_date): return nearest_time, price if __name__ == "__main__": - debug = True + debug = False parser = argparse.ArgumentParser(description="Run backtest with config file.") parser.add_argument("config", type=str, nargs="?", help="Path to config JSON file.")