Skip to content

Commit

Permalink
Update the test CSVs for inverse and stop loss strategies.
Browse files Browse the repository at this point in the history
  • Loading branch information
cinar committed Sep 7, 2024
1 parent efbacc7 commit 86c106a
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 81 deletions.
148 changes: 74 additions & 74 deletions strategy/decorator/testdata/inverse_strategy.csv
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ Action
0
0
0
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
Expand All @@ -62,6 +62,7 @@ Action
0
0
0
-1
0
0
0
Expand All @@ -78,12 +79,11 @@ Action
0
0
0
0
0
0
0
0
0
-1
-1
-1
-1
-1
0
0
0
Expand All @@ -105,8 +105,27 @@ Action
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
0
0
0
Expand All @@ -121,6 +140,11 @@ Action
0
0
0
1
1
1
1
1
0
0
0
Expand All @@ -129,7 +153,12 @@ Action
0
0
0
1
1
0
1
1
1
0
0
0
Expand All @@ -139,12 +168,25 @@ Action
0
0
0
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
Expand All @@ -159,54 +201,12 @@ Action
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
Expand All @@ -230,14 +230,14 @@ Action
0
0
-1
0
0
0
0
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
Expand Down
14 changes: 7 additions & 7 deletions strategy/decorator/testdata/stop_loss_strategy.csv
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ Action
0
0
-1
1
0
0
0
0
0
0
0
-1
0
0
0
Expand Down Expand Up @@ -67,10 +67,10 @@ Action
0
0
-1
1
0
0
0
0
-1
0
0
0
Expand Down Expand Up @@ -119,6 +119,7 @@ Action
1
0
-1
1
0
0
0
Expand All @@ -144,8 +145,7 @@ Action
0
0
0
0
0
-1
0
0
0
Expand Down Expand Up @@ -228,7 +228,7 @@ Action
0
0
-1
0
1
0
0
0
Expand Down

0 comments on commit 86c106a

Please sign in to comment.