File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed
Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ open_logs() {
3838# takes nb days as argument
3939lightenup () {
4040 if [[ $# -lt 1 ]]; then
41- nb_days=1
41+ nb_days=7
4242 else
4343 nb_days=$1
4444 fi
Original file line number Diff line number Diff line change 1130 2 * * 1 ~/Sety-project/devops/buildtools/bin/pyrun_static.sh
2- 5 * * * * ~/Sety-project/devops/buildtools/bin/pyrun_all.sh
3- 30 * * * * ~/Sety-project/devops/buildtools/bin/pyrun_restart_tradeexecutor.sh
2+ 5 * * * * ~/Sety-project/devops/buildtools/bin/pyrun_all.sh ftx debug
3+ 30 * * * * ~/Sety-project/devops/buildtools/bin/pyrun_restart_tradeexecutor.sh ftx debug
Original file line number Diff line number Diff line change @@ -3,17 +3,15 @@ source ~/.bashrc
33
44# Could use docker-compose at some point...
55# Run histfeed
6- pyrun_histfeed ftx
6+ pyrun_histfeed $1
77
8- histfeed_status=" $( docker container wait histfeed_worker_ftx ) "
8+ histfeed_status=" $( docker container wait histfeed_worker_ " $1 " ) "
99echo " Status code of histfeed_worker: " $histfeed_status " "
1010
1111# Run pfoptimizer only if histfeed returns 0
1212if [[ histfeed_status -eq 0 ]]; then
13- pyrun_pfoptimizer ftx SysPerp
14- pyrun_pfoptimizer ftx debug
13+ pyrun_pfoptimizer $1 $2
1514fi ;
1615
1716# Run pnlexplain every hour. Removed -e USERNAME=$USERNAME
18- pyrun_riskpnl ftx SysPerp
19- pyrun_riskpnl ftx debug
17+ pyrun_riskpnl $1 $2
You can’t perform that action at this time.
0 commit comments