-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstart_bot.sh
executable file
·42 lines (37 loc) · 1.03 KB
/
start_bot.sh
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
36
37
38
39
40
41
#!/usr/bin/env bash
HEIGHT=15
WIDTH=40
CHOICE_HEIGHT=4
BACKTITLE="Sepetit asal stabil"
TITLE="Bismilah sukses"
MENU="Pilih bot yang akan di jalankan"
OPTIONS=(1 "Crypto Signal Python Webhook"
2 "Tradingview Rest Web Server"
3 "Loop ccxt macd"
4 "Trading view scanner axios"
5 "tradingview_api.js")
CHOICE=$(dialog --clear \
--backtitle "$BACKTITLE" \
--title "$TITLE" \
--menu "$MENU" \
$HEIGHT $WIDTH $CHOICE_HEIGHT \
"${OPTIONS[@]}" \
2>&1 >/dev/tty)
clear
case $CHOICE in
1)
tmuxp load "./tmuxp_script/CryptoSignalWebhook.yml"
;;
2)
tmuxp load "./tmuxp_script/TradingViewRest.yml"
;;
3)
tmuxp load "./tmuxp_script/LoopCCXTMacd.yml"
;;
4)
tmuxp load "./tmuxp_script/TradingViewScannerAxios.yml"
;;
5)
tmuxp load "./tmuxp_script/tradingview_api.yml"
;;
esac