Update config builder to include okx for futures

This commit is contained in:
Matthias
2022-03-23 06:56:48 +01:00
parent 14f9d712dc
commit de6519eb05
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ def ask_user_config() -> Dict[str, Any]:
"message": "Do you want to trade Perpetual Swaps (perpetual futures)?",
"default": False,
"filter": lambda val: 'futures' if val else 'spot',
"when": lambda x: x["exchange_name"] in ['binance', 'gateio'],
"when": lambda x: x["exchange_name"] in ['binance', 'gateio', 'okx'],
},
{
"type": "autocomplete",