From e5b6eb58db5a1e041b2625d13ab1e902da11cf01 Mon Sep 17 00:00:00 2001 From: D-X-Y <280835372@qq.com> Date: Sun, 11 Apr 2021 04:30:10 -0700 Subject: [PATCH] Update scripts --- exps/trading/baselines.py | 2 ++ scripts/trade/tsf-time.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exps/trading/baselines.py b/exps/trading/baselines.py index cf42cf7..e7b27bd 100644 --- a/exps/trading/baselines.py +++ b/exps/trading/baselines.py @@ -85,7 +85,9 @@ def extend_train_data(alg2configs, name): config = copy.deepcopy(alg2configs[name]) start_times = ( "2008-01-01", + "2008-07-01", "2009-01-01", + "2009-07-01", "2010-01-01", "2011-01-01", "2012-01-01", diff --git a/scripts/trade/tsf-time.sh b/scripts/trade/tsf-time.sh index 0687a63..ec0aeb3 100644 --- a/scripts/trade/tsf-time.sh +++ b/scripts/trade/tsf-time.sh @@ -16,7 +16,7 @@ fi gpu=$1 market=$2 base=$3 -xtimes="2008-01-01 2009-01-01 2010-01-01 2011-01-01 2012-01-01 2013-01-01" +xtimes="2008-01-01 2008-07-01 2009-01-01 2009-07-01 2010-01-01 2011-01-01 2012-01-01 2013-01-01" for xtime in ${xtimes} do