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
+14
View File
@@ -0,0 +1,14 @@
{
"COINBASE_ADV_TRD": {
"api_key": "nKIyZxS95J4MsY4N"
, "secret_key": "sih7Txx3htlTWJrQ3EiuRS3qRfv7qZ4P"
, "account_uuid": "???"
, "book_id": "CVTT_BK01"
}
, "COINBASE_ADV_RO": {
"api_key": "Ip4QpRtRHBmWNpc3"
, "secret_key": "N6ZEMdIdUYUldkJRTUcCRKUFot4Fp2j0"
, "account_uuid": "???"
, "book_id": "CVTT_BK01"
}
}
+29
View File
@@ -0,0 +1,29 @@
FROM python:3.10-slim
WORKDIR /
COPY docker_dev/executor/requirements.txt /
RUN pip install --upgrade pip
RUN pip install -r /requirements.txt
COPY cvttpy /cvttpy
COPY docker_dev/executor/.creds /.creds
RUN mkdir /logs
ENV PYTHONPATH=/
# default config
# ENV CONFIG=http://cloud16.cvtt.vpn:6789/apps/cvtt
CMD [ \
"python3.10", \
"cvttpy/apps/executor_app.py", \
"--config=http://cloud16.cvtt.vpn:6789/apps/cvtt", \
"--admin_port=7220", \
"--active_exchanges=COINBASE_AT", \
"--credentials_file=/.creds", \
"--log_file=/logs/%T.EXECUTOR_APP.log" \
]
+6
View File
@@ -0,0 +1,6 @@
aiohttp>=3.7.4.post0
aioredis>=2.0.1
nest-asyncio>=1.5.5
hjson>=3.1.0
sortedcontainers>=2.4.0
pandas>=1.5.3