Skip to content

Commit

Permalink
api is down, I think this is a sign to chill w data collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaiveer Katariya committed Apr 9, 2021
1 parent 4c36745 commit 346e6a5
Show file tree
Hide file tree
Showing 4 changed files with 13,657 additions and 15 deletions.
3 changes: 2 additions & 1 deletion backtester.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from datetime import date, datetime, timedelta
import time
from logreg import trainAndTestFromDataframes
import decisiontree


trainingWindow = 90 # let's say it's a 90 day window idk
Expand Down Expand Up @@ -50,7 +51,7 @@
testWindow = df[isInTestWindow]

# get predictions from training over train window, testing over test window --> maybe add if statements for different models? doing log for now
testPredictions = trainAndTestFromDataframes(trainWindow, testWindow)
testPredictions = decisiontree.trainAndTestFromDataframes(trainWindow, testWindow)

# now, for each buy, we want to track how much assets appreciated, and for each sell, we want to track how much assets depreciated

Expand Down
Loading

0 comments on commit 346e6a5

Please sign in to comment.