Bot auto-update: src/main_ml.py
This commit is contained in:
parent
461af80975
commit
0b41ba1657
|
|
@ -7,11 +7,11 @@ import logging
|
|||
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger(__name__)
|
||||
load_dotenv()
|
||||
load_dotenv("/home/marc/bot-deploy/.env")
|
||||
|
||||
class Bot:
|
||||
def __init__(self):
|
||||
self.binance = Client(os.getenv("BINANCE_API_KEY"), os.getenv("BINANCE_API_SECRET"))
|
||||
self.binance = Client(os.getenv("BINANCE_API_KEY_LIVE"), os.getenv("BINANCE_API_SECRET_LIVE"))
|
||||
self.pairs = ["BTCUSDT","ETHUSDT","SOLUSDT","BNBUSDT","XRPUSDT"]
|
||||
self.current_trades = {}
|
||||
self.completed_trades = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue