From 86c106af5b19a102cbdb1981f238638afd0a2e11 Mon Sep 17 00:00:00 2001 From: Onur Cinar Date: Sat, 7 Sep 2024 08:52:09 -0700 Subject: [PATCH] Update the test CSVs for inverse and stop loss strategies. --- .../decorator/testdata/inverse_strategy.csv | 148 +++++++++--------- .../decorator/testdata/stop_loss_strategy.csv | 14 +- 2 files changed, 81 insertions(+), 81 deletions(-) diff --git a/strategy/decorator/testdata/inverse_strategy.csv b/strategy/decorator/testdata/inverse_strategy.csv index 7c37c57..341a548 100644 --- a/strategy/decorator/testdata/inverse_strategy.csv +++ b/strategy/decorator/testdata/inverse_strategy.csv @@ -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 @@ -62,6 +62,7 @@ Action 0 0 0 +-1 0 0 0 @@ -78,12 +79,11 @@ Action 0 0 0 -0 -0 -0 -0 -0 -0 +-1 +-1 +-1 +-1 +-1 0 0 0 @@ -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 @@ -121,6 +140,11 @@ Action 0 0 0 +1 +1 +1 +1 +1 0 0 0 @@ -129,7 +153,12 @@ Action 0 0 0 +1 +1 0 +1 +1 +1 0 0 0 @@ -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 @@ -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 @@ -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 diff --git a/strategy/decorator/testdata/stop_loss_strategy.csv b/strategy/decorator/testdata/stop_loss_strategy.csv index d9a8acd..a965b35 100644 --- a/strategy/decorator/testdata/stop_loss_strategy.csv +++ b/strategy/decorator/testdata/stop_loss_strategy.csv @@ -32,13 +32,13 @@ Action 0 0 -1 +1 0 0 0 0 0 -0 -0 +-1 0 0 0 @@ -67,10 +67,10 @@ Action 0 0 -1 +1 0 0 -0 -0 +-1 0 0 0 @@ -119,6 +119,7 @@ Action 1 0 -1 +1 0 0 0 @@ -144,8 +145,7 @@ Action 0 0 0 -0 -0 +-1 0 0 0 @@ -228,7 +228,7 @@ Action 0 0 -1 -0 +1 0 0 0