各位大佬,有人玩过 freqtrade 机器人,这个机器人是加密货币机器人,我这里出现一点问题,想请教一下, 就是我想把当前运行的改成合约,u 本位合约, 代码如下 { "max_open_trades": 10, "stake_currency": "USDT", "stake_amount": "unlimited", "tradable_balance_ratio": 0.99, "fiat_display_currency": "USD", "dry_run": true, "dry_run_wallet": 12, "cancel_open_orders_on_exit": false, "trading_mode": "futures", "margin_mode": "", "unfilledtimeout": { "entry": 10, "exit": 10, "exit_timeout_count": 0, "unit": "minutes" } 我把 "trading_mode": "futures", 我把这一行改了,现在就出现问题了 2024-02-12 07:47:45,046 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using position_adjustment_enable: False 2024-02-12 07:47:45,046 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_entry_position_adjustment: -1 2024-02-12 07:47:45,047 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_open_trades: 10 2024-02-12 07:47:45,047 - freqtrade.configuration.config_validation - INFO - Validating configuration ... 2024-02-12 07:47:45,053 - freqtrade.exchange.exchange - INFO - Instance is running with dry_run enabled 2024-02-12 07:47:45,053 - freqtrade.exchange.exchange - INFO - Using CCXT 4.2.25 2024-02-12 07:47:45,054 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'options': {'defaultType': 'swap'}} 2024-02-12 07:47:45,072 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'options': {'defaultType': 'swap'}} 2024-02-12 07:47:45,090 - freqtrade.exchange.exchange - INFO - Using Exchange "Binance" 2024-02-12 07:47:49,002 - freqtrade.commands.trade_commands - ERROR - Freqtrade does not support MarginMode.NONE futures on Binance 2024-02-12 07:47:49,003 - freqtrade.commands.trade_commands - ERROR - Fatal exception! Traceback (most recent call last): File "/freqtrade/freqtrade/commands/trade_commands.py", line 24, in start_trading worker = Worker(args) ^^^^^^^^^^^^ File "/freqtrade/freqtrade/worker.py", line 37, in init self._init(False) File "/freqtrade/freqtrade/worker.py", line 53, in _init self.freqtrade = FreqtradeBot(self._config) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/freqtradebot.py", line 76, in init self.exchange = ExchangeResolver.load_exchange( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/resolvers/exchange_resolver.py", line 37, in load_exchange exchange = ExchangeResolver._load_exchange( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/resolvers/exchange_resolver.py", line 64, in _load_exchange exchange = ex_class(**kwargs) ^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/exchange/exchange.py", line 189, in init self.validate_config(config) File "/freqtrade/freqtrade/exchange/exchange.py", line 232, in validate_config self.validate_trading_mode_and_margin_mode(self.trading_mode, self.margin_mode) File "/freqtrade/freqtrade/exchange/exchange.py", line 696, in validate_trading_mode_and_margin_mode raise OperationalException( freqtrade.exceptions.OperationalException: Freqtrade does not support MarginMode.NONE futures on Binance 这个怎样解决
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.