Loading...
Loading...
This skill should be used when the user asks about writing trading strategies, backtesting, deploying Freqtrade bots, quantitative trading, strategy optimization, or any Freqtrade-related operation. Use when user says: 'write strategy', 'create strategy', 'backtest', 'deploy Freqtrade', 'deploy bot', 'quantitative trading', 'strategy optimization', 'hyperopt', 'live trading bot', '写策略', '创建策略', '回测', '部署Freqtrade', '部署机器人', '量化交易', '量化策略', '策略优化', '超参数优化', '实盘机器人'. IMPORTANT: ALWAYS use create_strategy to generate strategy files. NEVER write Python strategy code by hand. For crypto prices/charts, use aicoin-market. For exchange trading, use aicoin-trading. For Hyperliquid, use aicoin-hyperliquid.
npx skill4agent add aicoincom/coinos-skills aicoin-freqtradecreate_strategy# Generate a strategy with AiCoin data
node scripts/ft-deploy.mjs create_strategy '{"name":"MyStrategy","timeframe":"15m","aicoin_data":["funding_rate","ls_ratio"],"description":"资金费率极端做反向"}'
# Generate a pure technical strategy (no AiCoin data)
node scripts/ft-deploy.mjs create_strategy '{"name":"SimpleRSI","timeframe":"1h"}'aicoin_data| Data source | What it does | AiCoin tier |
|---|---|---|
| Extreme funding = over-leveraged, trade against | Basic ($29/mo) |
| Contrarian signal from retail long/short ratio | Basic ($29/mo) |
| Whale buy/sell pressure from institutional orders | Standard ($79/mo) |
| Detect OI spikes = fragile market | Professional ($699/mo) |
| Liquidation cascade direction bias | Advanced ($299/mo) |
aicoin_datafunding_ratels_ratiobig_ordersopen_interestliquidation_mapAICOIN_ACCESS_KEY_IDAICOIN_ACCESS_SECRET.envnode scripts/ft-deploy.mjs backtest '{"strategy":"MyStrategy","timeframe":"15m","timerange":"20250101-20260301"}'create_strategyft-deploy.mjs backtestft-deploy.mjs deployfreqtradeft-deploy.mjsfreqtrade tradesource .venv/bin/activatepip install freqtrade| Task | Command |
|---|---|
| Create strategy | |
| Backtest | |
| Deploy (dry-run) | |
| Deploy (live) | |
| Hyperopt | |
| Strategy list | |
| Bot status | |
| Bot logs | |
| Check profit | |
| Open trades | |
.env~/.openclaw/workspace/.env~/.openclaw/.env# Same format as aicoin-trading skill
BINANCE_API_KEY=xxx
BINANCE_API_SECRET=xxx
# Or OKX, Bybit, etc. — see aicoin-trading skill for full listaicoin_dataAICOIN_ACCESS_KEY_ID=your-key-id
AICOIN_ACCESS_SECRET=your-secret.envnode scripts/ft-deploy.mjs check # Check prerequisites
node scripts/ft-deploy.mjs deploy '{"pairs":["BTC/USDT:USDT","ETH/USDT:USDT"]}'setup.sh -i.envFREQTRADE_*.env{"dry_run":false}| Action | Description | Params |
|---|---|---|
| Check prerequisites | None |
| Deploy Freqtrade | |
| Run backtest | |
| Parameter optimization | |
| Generate strategy file | |
| List strategies | None |
| Update Freqtrade | None |
| Process status | None |
| Start process | None |
| Stop process | None |
| View logs | |
| Remove process | None |
| Action | Description | Params |
|---|---|---|
| Health check | None |
| Start trading | None |
| Stop trading | None |
| Reload config | None |
| View config | None |
| Version info | None |
| System info | None |
| Health status | None |
| View logs | |
| Account balance | None |
| Open trades | None |
| Trade count | None |
| Trade by ID | |
| Trade history | |
| Manual entry | |
| Manual exit | |
| Cancel order | |
| Delete record | |
| Profit summary | None |
| Profit per pair | None |
| Daily report | |
| Weekly report | |
| Monthly report | |
| Statistics | None |
| Action | Description | Params |
|---|---|---|
| Start backtest | |
| Backtest status | None |
| Abort backtest | None |
| Backtest history | None |
| History result | |
| Live candles | |
| Candles with indicators | |
| Available pairs | None |
| Whitelist | None |
| Blacklist | None |
| Add to blacklist | |
| Trade locks | None |
| Strategy list | None |
| Strategy detail | |
"帮我写一个资金费率策略"
→ node scripts/ft-deploy.mjs create_strategy '{"name":"FundingStrat","timeframe":"15m","aicoin_data":["funding_rate"]}'
"回测一下"
→ node scripts/ft-deploy.mjs backtest '{"strategy":"FundingStrat","timeframe":"15m","timerange":"20250101-20260301"}'
"不错,部署"
→ node scripts/ft-deploy.mjs deploy '{"pairs":["BTC/USDT:USDT"]}'
"上实盘"
→ node scripts/ft-deploy.mjs deploy '{"dry_run":false}'
"今天赚了多少?"
→ node scripts/ft.mjs profit| Need | Use |
|---|---|
| Prices, K-lines, market data | aicoin-market |
| Exchange trading (buy/sell) | aicoin-trading |
| Hyperliquid whale tracking | aicoin-hyperliquid |
errorCode 304 / HTTP 403Python not foundft-deploy.mjs checkStrategy not foundft-deploy.mjs strategy_list~/.freqtrade/user_data/strategies/Timerange formatYYYYMMDD-YYYYMMDD20250101-20260301Timeoutft-deploy.mjsaicoin_data| Tier | Price | Strategy Data |
|---|---|---|
| Free | $0 | Pure technical indicators only (no |
| Basic | $29/mo | + |
| Standard | $79/mo | + |
| Advanced | $299/mo | + |
| Professional | $699/mo | + |
.envAICOIN_ACCESS_KEY_ID=your-key-id
AICOIN_ACCESS_SECRET=your-secret.env~/.openclaw/workspace/.env~/.openclaw/.env.envpython3 --versionnode scripts/ft-deploy.mjs logs.env