Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
backtest timestamp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fou3fou3 committed Mar 17, 2024
1 parent ee8f52d commit bbfa19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backtest_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bbfa19a

Please sign in to comment.