Skip to content

Commit

Permalink
ready to test backtester
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaiveer Katariya committed Apr 8, 2021
1 parent 5c8fa8f commit 4c36745
Show file tree
Hide file tree
Showing 4 changed files with 121,809 additions and 136 deletions.
2 changes: 1 addition & 1 deletion backtester.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
lastDate = df['date'].max()
currentStartTrainDate = df['date'].min()

currentEndTrainDate = date.fromtimestamp(currentStartTrainDate) + timedelta(days=trainingWindow)
currentEndTrainDate = date.fromtimestamp(currentStartTrainDate) + timedelta(days=trainingWindow) # MAKE A SMARTER TRAIN AND TEST WINDOW
currentStartTestDate = currentEndTrainDate + timedelta(days=1)
currentEndTestDate = currentStartTestDate + timedelta(days=testingWindow)

Expand Down
Loading

0 comments on commit 4c36745

Please sign in to comment.