Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-added unit tests for Moving Avg Cross and Buy-and-Hold strategies.…
… Eliminated 'stochastic ticker' bug in backtest by forcing the Yahoo price handler to always order ticker DataFrame deterministically.
- Loading branch information
1 parent
c8c854d
commit 84b2148
Showing
7 changed files
with
61 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Ticker,Time,Bid,Ask | ||
AMZN,01.02.2016 00:00:01.562,502.10001,502.11999 | ||
AMZN,01.02.2016 00:00:02.909,502.10003,502.11997 | ||
AMZN,01.02.2016 00:00:04.396,502.10007,502.11993 | ||
AMZN,01.02.2016 00:00:05.970,502.10008,502.11992 | ||
AMZN,01.02.2016 00:00:07.402,502.10009,502.11991 | ||
AMZN,01.02.2016 00:00:08.948,502.10012,502.11988 | ||
AMZN,01.02.2016 00:00:10.316,502.10013,502.11987 | ||
AMZN,01.02.2016 00:00:11.829,502.10015,502.11985 | ||
AMZN,01.02.2016 00:00:13.212,502.10016,502.11984 | ||
AMZN,01.02.2016 00:00:14.616,502.10015,502.11985 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Ticker,Time,Bid,Ask | ||
GOOG,01.02.2016 00:00:01.358,683.56000,683.58000 | ||
GOOG,01.02.2016 00:00:02.544,683.55998,683.58002 | ||
GOOG,01.02.2016 00:00:03.765,683.55999,683.58001 | ||
GOOG,01.02.2016 00:00:05.215,683.56001,683.57999 | ||
GOOG,01.02.2016 00:00:06.509,683.56002,683.57998 | ||
GOOG,01.02.2016 00:00:07.964,683.55999,683.58001 | ||
GOOG,01.02.2016 00:00:09.369,683.56000,683.58000 | ||
GOOG,01.02.2016 00:00:10.823,683.56001,683.57999 | ||
GOOG,01.02.2016 00:00:12.221,683.56000,683.58000 | ||
GOOG,01.02.2016 00:00:13.546,683.56000,683.58000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Ticker,Time,Bid,Ask | ||
MSFT,01.02.2016 00:00:01.578,50.14999,50.17001 | ||
MSFT,01.02.2016 00:00:02.988,50.15002,50.16998 | ||
MSFT,01.02.2016 00:00:04.360,50.15003,50.16997 | ||
MSFT,01.02.2016 00:00:05.752,50.15004,50.16996 | ||
MSFT,01.02.2016 00:00:07.148,50.15005,50.16995 | ||
MSFT,01.02.2016 00:00:08.416,50.15003,50.16997 | ||
MSFT,01.02.2016 00:00:09.904,50.15000,50.17000 | ||
MSFT,01.02.2016 00:00:11.309,50.15001,50.16999 | ||
MSFT,01.02.2016 00:00:12.655,50.15003,50.16997 | ||
MSFT,01.02.2016 00:00:14.153,50.15005,50.16995 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters