V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ccclo
V2EX  ›  问与答

有没有大佬完整自动化交易机器人 freqtrade

  •  
  •   ccclo · 318 天前 · 1560 次点击
    这是一个创建于 318 天前的主题,其中的信息可能已经有所发展或是发生改变。

    各位大佬,有人玩过 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 这个怎样解决

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5504 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:55 · PVG 16:55 · LAX 00:55 · JFK 03:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.