moving to python 3.12

This commit is contained in:
2024-09-03 18:24:36 -04:00
parent 75548025d7
commit 0fe306ff51
22 changed files with 26 additions and 85 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/trading/quant
+1 -14
View File
@@ -1,18 +1,5 @@
#!/bin/bash
# runs in container
#command=/home/cvtt/.pyenv/python3.10-venv/bin/python3
# -u /home/cvtt/prod/cvttpy/apps/quant_app.py
# --config=http://cloud16.cvtt.vpn:6789/apps/cvtt_eqt_alpaca
# --active_exchanges=ALPACA_SNDBX-MDPORTAL
# --book=ALPACA_BK02
# --strategy=DAILY_STOCK_001
# --dynamic_instruments=ALPACA_SNDBX
# --admin_port=7224
# --log_level=INFO
# --log_file=/home/cvtt/prod/logs/%%T.QUANT_APP.log
# # --debug_mode
# runs on host to start container
usage() {
echo -n "Usage: $0"
@@ -67,7 +54,7 @@ if [ "${Book}" == "" ]; then
usage
fi
Cmd="python3.10"
Cmd="python3.12"
Cmd="${Cmd} cvttpy/apps/quant_app.py"
Cmd="${Cmd} --config=http://${ConfigServer}/apps/cvtt_eqt_alpaca"
Cmd="${Cmd} --credentials_file=/.creds"