modified exchange name

This commit is contained in:
Nicolás Sánchez 2025-05-19 19:37:11 -03:00
parent 415f74fe3e
commit 39506b3afc
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ with open(f"../configs/{sys.argv[1]}.json") as k:
pwd = config["password"] if "password" in config else ""
exch = sys.argv[1]
if exch=="okex":
exch="okex5"
exch="okx"
exchange_class = getattr(ccxt, sys.argv[1])
exchange = exchange_class({
"apiKey": config["key"],