(feat) add compose file and yml to run hummingbot candles downlaoder

This commit is contained in:
cardosofede
2023-06-01 19:46:23 -03:00
parent d1d98ca4a8
commit 2e1164ea32
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
version: "3.9"
services:
bot:
container_name: data_downloader
image: dardonacci/hummingbot:dev
volumes:
- "../../data/candles:/home/hummingbot/data"
- "../conf:/home/hummingbot/conf"
- "../conf/connectors:/home/hummingbot/conf/connectors"
environment:
- CONFIG_PASSWORD=a
- CONFIG_FILE_NAME=download_candles.py
env_file:
- ../scripts_configs/data_downloader_config.yml
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: 5
tty: true
stdin_open: true
network_mode: host

View File

@@ -0,0 +1,4 @@
DAYS_TO_DOWNLOAD: 3
EXCHANGE: binance_perpetual
INTERVALS: 1m,3m,1h
TRADING_PAIRS: BTC-USDT,ETH-USDT