modified exchange name
This commit is contained in:
parent
415f74fe3e
commit
39506b3afc
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Reference in New Issue