autodl-projects/scripts/trade/tsf-all.sh

35 lines
826 B
Bash
Raw Permalink Normal View History

2021-03-29 07:04:24 +02:00
#!/bin/bash
#
2021-03-30 11:02:41 +02:00
# bash scripts/trade/tsf-all.sh 0 csi300 0_0
# bash scripts/trade/tsf-all.sh 0 csi300 0.1_0
2021-03-29 07:04:24 +02:00
# bash scripts/trade/tsf-all.sh 1 all
#
set -e
echo script name: $0
echo $# arguments
if [ "$#" -ne 3 ] ;then
echo "Input illegal number of parameters " $#
exit 1
fi
gpu=$1
market=$2
drop=$3
channels="6 12 24 32 48 64"
2021-04-11 15:44:19 +02:00
#depths="1 2 3 4 5 6 7 8"
2021-03-29 07:04:24 +02:00
for channel in ${channels}
do
2021-03-30 14:41:26 +02:00
python exps/trading/baselines.py --alg TSF-1x${channel}-drop${drop} \
TSF-2x${channel}-drop${drop} \
TSF-3x${channel}-drop${drop} \
TSF-4x${channel}-drop${drop} \
TSF-5x${channel}-drop${drop} \
TSF-6x${channel}-drop${drop} \
2021-04-11 15:44:19 +02:00
TSF-7x${channel}-drop${drop} \
TSF-8x${channel}-drop${drop} \
2021-03-30 14:41:26 +02:00
--gpu ${gpu} --market ${market} --shared_dataset True
2021-03-29 07:04:24 +02:00
done