From bbfa19ae211492aafa0ecaafcc93dc44de1aa8fc Mon Sep 17 00:00:00 2001 From: Fouad Date: Sun, 17 Mar 2024 17:04:44 +0100 Subject: [PATCH] backtest timestamp fix --- src/backtest_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {