-
Notifications
You must be signed in to change notification settings - Fork 256
/
realtime_spyder_startup.bat
45 lines (40 loc) · 1.04 KB
/
realtime_spyder_startup.bat
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
42
43
44
45
@echo off
:again
cls
echo =========================== Please select programs below to run ===========================
echo 1 ./Gon/realtime_starter_cnstock.py
echo 2 ./Gon/realtime_starter_jrj.py
echo 3 ./Gon/realtime_starter_nbd.py
echo 4 ./Gon/realtime_starter_stock_price.py
echo 5 run all
echo.
echo Please input number 1-5:
set /p num=
if "%num%"=="1" (
cd ./Gon
start python ./realtime_starter_redis_queue.py
start python ./realtime_starter_cnstock.py
)
if "%num%"=="2" (
cd ./Gon
start python ./realtime_starter_redis_queue.py
start python ./realtime_starter_jrj.py
)
if "%num%"=="3" (
cd ./Gon
start python ./realtime_starter_redis_queue.py
start python ./realtime_starter_nbd.py
)
if "%num%"=="4" (
cd ./Gon
start python ./realtime_starter_redis_queue.py
start python ./realtime_starter_stock_price.py
)
if "%num%"=="5" (
cd ./Gon
start python ./realtime_starter_redis_queue.py
start python ./realtime_starter_cnstock.py
start python ./realtime_starter_nbd.py
start python ./realtime_starter_jrj.py
start python ./realtime_starter_stock_price.py
)