diff --git a/src/backtest_module.py b/src/backtest_module.py index 15ff3f7..2a40414 100644 --- a/src/backtest_module.py +++ b/src/backtest_module.py @@ -43,7 +43,7 @@ def backtest(algorithm: str, 'strength': strength, 'current_balance': balance, 'current_shares': shares, - 'timestamp': timestamps[index - 1] + 'timestamp': int(timestamps[index - 1]) }) return {