(20250102) Tick-Out ready for test on production. This is the SocketIO server for trading ticks.
This commit is contained in:
-10
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Kill all the scripts:
|
|
||||||
echo "Killing the script."
|
|
||||||
pkill -9 -f "$(pwd)/playground/socketio/to_kafka.py"
|
|
||||||
pkill -9 -f "$(pwd)/wsio/finstitutions/trading/main.py"
|
|
||||||
|
|
||||||
# All done:
|
|
||||||
echo "Done!"
|
|
||||||
exit 0
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Kill all the scripts:
|
||||||
|
echo "Killing the script."
|
||||||
|
pkill -9 -f "$(pwd)/wsio/finstitutions/trading/tick_out.py"
|
||||||
|
|
||||||
|
# All done:
|
||||||
|
echo "Done!"
|
||||||
|
exit 0
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Use this to run the microservice without any docker setup.
|
|
||||||
source .venv/bin/activate
|
|
||||||
pkill -9 -f "$(pwd)/playground/socketio/to_kafka.py"
|
|
||||||
python3 "$(pwd)/wsio/finstitutions/trading/main.py" --host "0.0.0.0" --port 5214 --script-id "kps_cnv_KBC3MoaU" &
|
|
||||||
deactivate
|
|
||||||
|
|
||||||
# All done:
|
|
||||||
echo "Done!"
|
|
||||||
exit 0
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Use this to run the microservice without any docker setup.
|
||||||
|
source .venv/bin/activate
|
||||||
|
python3 "$(pwd)/wsio/finstitutions/trading/tick_out.py" --workers 2 --host "0.0.0.0" --port 5214 --script-id "kps_prod_nFCaozwnVP" &
|
||||||
|
deactivate
|
||||||
|
|
||||||
|
# All done:
|
||||||
|
echo "Done!"
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user