Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ope_research into main
  • Loading branch information
IsaacRudich committed Feb 27, 2021
2 parents 11ceedd + 9f0ce2d commit 00f3be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/julia_scripts/backtest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function backtestLongNope()
if !stoppedDay && nope <= stopLoss
stoppedDay = true
stopDay = Dates.day(datetime)
elseif stoppedDay && Dates.day(datetime)!=stoppedDay
elseif stoppedDay && Dates.day(datetime)!=stopDay
stoppedDay = false
stopDay = nothing
end
Expand Down

0 comments on commit 00f3be7

Please sign in to comment.