This commit is contained in:
2024-08-17 12:00:56 -04:00
parent c2508740f8
commit d2e5515ec8
13 changed files with 118 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{
"TSDB_MD_CLD19_RO": {
"host": "cloud19.cvtt.vpn"
, "port": 5432
, "user": "cvtt_ro"
, "database": "cvtt_md"
, "password": "3Gkotqa0ZSmZLXSH3RkTUm"
}
, "TSDB_MD_CVTTDATA_RO": {
"host": "cvttdata.cvtt.vpn"
, "port": 5432
, "user": "cvtt_ro"
, "database": "cvtt_md"
, "password": "3Gkotqa0ZSmZLXSH3RkTUm"
}
, "MATTERMOST": {
"url": "https://cloud11.cryptovaltrading.com"
, "team": "CVTT"
, "bearer": "5ysaaxjeijrwjbmhuzcuos9ano"
}
}
+36
View File
@@ -0,0 +1,36 @@
FROM python:3.10-slim
WORKDIR /
COPY docker_dev/quant/requirements.txt /
RUN pip install --upgrade pip
RUN pip install -r /requirements.txt
RUN apt-get update && apt-get install -y \
apt-utils \
libpq-dev \
build-essential
COPY cvttpy /cvttpy
COPY docker_dev/quant/.creds /.creds
RUN mkdir /logs
ENV PYTHONPATH=/
# default config
ENV CONFIG=http://cloud16.cvtt.vpn:6789/apps/cvtt
ENV BOOK_ID=CVTT_CLD17_BK01
CMD [ \
"python3.10", \
"cvttpy/apps/quant_app.py", \
"--config=http://cloud16.cvtt.vpn:6789/apps/cvtt", \
"--credentials_file=/.creds", \
"--active_exchanges=COINBASE_AT", \
"--instruments=COINBASE:PAIR-BTC-USD", \
"--book=CVTT_CLD17_BK01", \
"--admin_port=7221", \
"--log_file=/logs/%T.QUANT.log" \
]
+11
View File
@@ -0,0 +1,11 @@
aiohttp>=3.7.4.post0
nest-asyncio>=1.5.5
hjson>=3.1.0
sortedcontainers>=2.4.0
pandas>=1.5.3
#
ta>=0.10.2
tables>=3.9.1
psycopg>=3.2.1
#
aioredis>=2.0.1