Files
hummingbot-dashboard/CONFIG.py
david-hummingbot 961f520020 update CONFIG.py
The AUTH_SYSTEM_ENABLED environment variable set in the Deploy Docker Compose file was not being picked up by the config.py file. Made changes so that the environment variable is picked up
2024-07-26 21:49:00 +08:00

24 lines
1.1 KiB
Python

import os
from dotenv import load_dotenv
load_dotenv()
MINER_COINS = ["Algorand", "Avalanche", "DAO Maker", "Faith Tribe", "Fear", "Frontier",
"Harmony", "Hot Cross", "HUMAN Protocol", "Oddz", "Shera", "Firo",
"Vesper Finance", "Youclout", "Nimiq"]
MINER_EXCHANGES = ["Binance", "FTX", "Coinbase Exchange", "Huobi Global", "OKX", "KuCoin",
"Kraken", "Bybit (Spot)", "FTX.US", "Crypto.com Exchange", "Binance US",
"MEXC Global", "Gate.io", "BitMart", "Bitfinex", "AscendEX (BitMax)",
"Bittrex", "CoinFLEX", "Digifinex", "HitBTC", "Kraken", "Liquid", ]
DEFAULT_MINER_COINS = ["Avalanche"]
CERTIFIED_EXCHANGES = ["ascendex", "binance", "bybit", "gate.io", "hitbtc", "huobi", "kucoin", "okx", "gateway"]
CERTIFIED_STRATEGIES = ["xemm", "cross exchange market making", "pmm", "pure market making"]
AUTH_SYSTEM_ENABLED = os.getenv("AUTH_SYSTEM_ENABLED", "False").lower() in ("true", "1", "t")
BACKEND_API_HOST = os.getenv("BACKEND_API_HOST", "127.0.0.1")
BACKEND_API_PORT = os.getenv("BACKEND_API_PORT", 8000)