mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update config builder to include okx for futures
This commit is contained in:
parent
14f9d712dc
commit
de6519eb05
|
@ -21,7 +21,7 @@
|
||||||
"ignore_roi_if_buy_signal": false,
|
"ignore_roi_if_buy_signal": false,
|
||||||
"ignore_buying_expired_candle_after": 300,
|
"ignore_buying_expired_candle_after": 300,
|
||||||
"trading_mode": "spot",
|
"trading_mode": "spot",
|
||||||
// "margin_mode": "isolated",
|
"margin_mode": "",
|
||||||
"minimal_roi": {
|
"minimal_roi": {
|
||||||
"40": 0.0,
|
"40": 0.0,
|
||||||
"30": 0.01,
|
"30": 0.01,
|
||||||
|
|
|
@ -124,7 +124,7 @@ def ask_user_config() -> Dict[str, Any]:
|
||||||
"message": "Do you want to trade Perpetual Swaps (perpetual futures)?",
|
"message": "Do you want to trade Perpetual Swaps (perpetual futures)?",
|
||||||
"default": False,
|
"default": False,
|
||||||
"filter": lambda val: 'futures' if val else 'spot',
|
"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",
|
"type": "autocomplete",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user