progress
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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" \
|
||||
]
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user