-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrsync
35 lines (30 loc) · 1.23 KB
/
rsync
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
###################################
#########Local to Remote###########
###################################
# Itchbot
rsync -rave 'ssh -i ~/.ssh/trading.pem' ~/trading/localbot [email protected]:/home/ec2-user/all_bots
###################################
#########Remote to Local###########
###################################
# Itch
scp -i ~/.ssh/trading.pem -r [email protected]:~/all_bots/itchbot/ ~/Desktop/itchbot_backup/
###################################
TODO: make these steps into a bash script for deploying easier
- delete/move logs
- Do rsync
- rename/delete folder
- delete *.pyc
- check bid volume - bottrade
- self.verify set to False - constants.py
- check strategy in use - bot
- check strategy flags - specific strategy
- check strategy stop loss - specific strategy
- check max simultaneous trades - botstrategy
- Set -O flag so debug is off -
- remove the -O if you don't want to send to slack
python -O bot.py -x kraken -p 5 -t 5 -c XXBTZUSD
- after supervisorctl config file is changed:
supervisorctl reread
supervisorctl update
supervisorctl status
supervisorctl start (if necessary)