欢迎大家来到IT世界,在知识的湖畔探索吧!
今天学习配置最简单的运行策略,但是还是报了一堆的错。没办法明天好好看看文档,运行一下吧。
{
“max_open_trades”: 1,
“stake_currency”: “USDT”,
“stake_amount”: 1000,
“dry_run”: true,
“dry_run_wallet”: 1000,
“trading_mode”: “futures”,
“margin_mode”: “isolated”,
“exchange”: {
“name”: “okx”,
“key”: “”,
“secret”: “”,
“password”: “”,
“ccxt_config”: {
“options”: {
“defaultType”: “swap”,
“adjustForTimeDifference”: true
},
“enableRateLimit”: true,
“timeout”: 10000
},
“ccxt_async_config”: {
“enableRateLimit”: true,
“timeout”: 10000
},
“pair_whitelist”: [“BTC/USDT:USDT”],
“pair_blacklist”: [“*DOWN/*”, “*UP/*”]
},
“timeframe”: “5m”,
“futures_leverage”: 30.0,
“strategy”: “MA_Cross_RSI”,
“strategy_path”: “user_data/strategies”,
“telegram”: {
“enabled”: true,
“token”: “your_telegram_bot_token”,
“chat_id”: “your_chat_id”
},
“stoploss”: -0.03,
“api_server”: {
“enabled”: true,
“listen_ip_address”: “127.0.0.1”,
“listen_port”: 8080
},
“dataformat_ohlcv”: “json”,
“user_data_dir”: “user_data”,
“pairlists”: [
{
“method”: “VolumePairList”,
“number_assets”: 10,
“sort_key”: “quoteVolume”,
“refresh_period”: 1800
}
]
}
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://itzsg.com/138447.html