robonet-workbench
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRobonet MCP Integration
Robonet MCP 集成
Overview
概述
Robonet provides an MCP server that enables AI assistants to build, test, and deploy trading strategies. The server offers 24 tools organized into 6 categories: Data Access (8), AI-Powered Strategy Generation (6), Backtesting (2), Prediction Markets (3), Deployment (4), and Account Management (2).
Robonet提供一款MCP服务器,支持AI助手构建、测试和部署交易策略。该服务器提供24种工具,分为6大类:数据访问(8种)、AI驱动策略生成(6种)、回测(2种)、预测市场(3种)、部署(4种)和账户管理(2种)。
Quick Start
快速开始
Load the required MCP tools before using them:
Use MCPSearch to select: mcp__workbench__get_all_symbols
Use MCPSearch to select: mcp__workbench__create_strategy
Use MCPSearch to select: mcp__workbench__run_backtestAfter loading, call the tools directly to interact with Robonet.
在使用前加载所需的MCP工具:
Use MCPSearch to select: mcp__workbench__get_all_symbols
Use MCPSearch to select: mcp__workbench__create_strategy
Use MCPSearch to select: mcp__workbench__run_backtest加载完成后,可直接调用这些工具与Robonet交互。
Tool Categories
工具分类
1. Data Access Tools (Fast, <1s execution)
1. 数据访问工具(执行速度快,<1秒)
Browse available resources before building strategies:
- - List your trading strategies with optional backtest results
get_all_strategies - - View Python source code of a strategy
get_strategy_code - - Track strategy evolution across versions
get_strategy_versions - - List tradeable pairs on Hyperliquid (BTC-USDT, ETH-USDT, etc.)
get_all_symbols - - Browse 170+ indicators (RSI, MACD, Bollinger Bands, etc.)
get_all_technical_indicators - - List Allora Network ML prediction topics
get_allora_topics - - Check data ranges before backtesting
get_data_availability - - View recent backtest performance
get_latest_backtest_results
Pricing: Most $0.001, some free. Use these liberally to explore.
When to use: Start every workflow by checking available symbols, indicators, or existing strategies before generating new code.
在构建策略前浏览可用资源:
- - 列出你的交易策略,可选择包含回测结果
get_all_strategies - - 查看策略的Python源代码
get_strategy_code - - 跟踪策略的版本迭代
get_strategy_versions - - 列出Hyperliquid上的可交易对(如BTC-USDT、ETH-USDT等)
get_all_symbols - - 浏览170+种技术指标(如RSI、MACD、布林带等)
get_all_technical_indicators - - 列出Allora Network的ML预测主题
get_allora_topics - - 回测前检查数据覆盖范围
get_data_availability - - 查看近期回测表现
get_latest_backtest_results
定价:大部分为0.001美元,部分免费。可随意使用这些工具进行探索。
适用场景:在生成新代码前,先通过这些工具查看可用交易对、指标或现有策略,开启每个工作流。
2. AI-Powered Strategy Tools (20-60s execution)
2. AI驱动策略工具(执行时间20-60秒)
Generate and improve trading strategies:
- - Get AI-generated strategy concepts based on market data
generate_ideas - - Generate complete Python strategy from description
create_strategy - - Tune parameters for better performance
optimize_strategy - - Add Allora Network ML predictions to strategy
enhance_with_allora - - Make targeted code improvements
refine_strategy - - Generate Polymarket YES/NO trading logic
create_prediction_market_strategy
Pricing: Real LLM cost + margin ($0.50-$4.50 typical). These are the most expensive tools.
When to use: After understanding available resources, use these to build or improve strategies. Always backtest after generation.
生成和优化交易策略:
- - 根据市场数据获取AI生成的策略概念
generate_ideas - - 根据描述生成完整的Python策略代码
create_strategy - - 调整参数以提升策略表现
optimize_strategy - - 为策略添加Allora Network的ML预测
enhance_with_allora - - 针对性优化代码
refine_strategy - - 生成Polymarket的YES/NO交易逻辑
create_prediction_market_strategy
定价:实际LLM成本+边际费用(通常0.50-4.50美元)。这些是成本最高的工具。
适用场景:了解可用资源后,使用这些工具构建或优化策略。生成策略后务必进行回测。
3. Backtesting Tools (20-40s execution)
3. 回测工具(执行时间20-40秒)
Test strategy performance on historical data:
- - Test crypto trading strategies
run_backtest - - Test Polymarket strategies
run_prediction_market_backtest
Pricing: $0.001 per backtest
Returns: Performance metrics (Sharpe ratio, max drawdown, win rate, total return, profit factor), trade statistics, equity curve data
When to use: After creating or modifying a strategy, always backtest before deploying. Use multiple time periods to validate robustness.
在历史数据上测试策略表现:
- - 测试加密货币交易策略
run_backtest - - 测试Polymarket策略
run_prediction_market_backtest
定价:每次回测0.001美元
返回结果:表现指标(夏普比率、最大回撤、胜率、总收益率、盈利因子)、交易统计数据、权益曲线数据
适用场景:创建或修改策略后,部署前务必进行回测。使用多个时间段验证策略的稳健性。
4. Prediction Market Tools
4. 预测市场工具
Build Polymarket trading strategies:
- - Browse available prediction markets
get_all_prediction_events - - Analyze YES/NO token price history
get_prediction_market_data - - Generate Polymarket strategy code
create_prediction_market_strategy
Pricing: $0.001 for data tools, Real LLM cost + margin for creation
When to use: For prediction market trading strategies on Polymarket (politics, crypto price predictions, economics events)
构建Polymarket交易策略:
- - 浏览可用的预测市场
get_all_prediction_events - - 分析YES/NO代币的价格历史
get_prediction_market_data - - 生成Polymarket策略代码
create_prediction_market_strategy
定价:数据工具为0.001美元,策略生成工具为实际LLM成本+边际费用
适用场景:用于Polymarket上的预测市场交易策略(政治、加密货币价格预测、经济事件等)
5. Deployment Tools
5. 部署工具
Deploy strategies to live trading on Hyperliquid:
- - Launch live trading agent (EOA or Hyperliquid Vault)
deployment_create - - Monitor active deployments
deployment_list - - Resume stopped deployment
deployment_start - - Halt live trading
deployment_stop
Pricing: $0.50 to create, free for list/start/stop
Constraints:
- EOA (wallet): Max 1 active deployment per wallet
- Hyperliquid Vault: Requires 200+ USDC in wallet, unlimited deployments
When to use: After thorough backtesting shows positive results. Never deploy without backtesting first.
将策略部署到Hyperliquid进行实盘交易:
- - 启动实盘交易代理(EOA或Hyperliquid Vault)
deployment_create - - 监控活跃的部署任务
deployment_list - - 恢复已停止的部署任务
deployment_start - - 暂停实盘交易
deployment_stop
定价:创建部署需0.50美元,列表/启动/停止操作免费
限制条件:
- EOA(外部账户钱包):每个钱包最多1个活跃部署任务
- Hyperliquid Vault:钱包中需有200+ USDC,支持无限部署任务
适用场景:经过充分回测确认策略表现良好后再部署。绝不跳过回测直接部署。
6. Account Tools
6. 账户工具
Manage credits and view account info:
- - Check available USDC credits
get_credit_balance - - View transaction history
get_credit_transactions
Pricing: Free
When to use: Check balance before expensive operations. Monitor spending via transaction history.
管理信用额度并查看账户信息:
- - 查看可用USDC信用额度
get_credit_balance - - 查看交易历史
get_credit_transactions
定价:免费
适用场景:在进行高成本操作前检查余额。通过交易历史监控支出情况。
Common Workflows
常见工作流
Workflow 1: Create and Test New Strategy
工作流1:创建并测试新策略
1. get_all_symbols → See available trading pairs
2. get_all_technical_indicators → Browse indicators
3. create_strategy → Generate Python code from description
4. run_backtest → Test on 6+ months of data
5. If promising: optimize_strategy → Tune parameters
6. If excellent: enhance_with_allora → Add ML signals
7. run_backtest → Validate improvements
8. If ready: deployment_create → Deploy to live tradingCost: ~$1-5 depending on optimization and enhancement
1. get_all_symbols → 查看可用交易对
2. get_all_technical_indicators → 浏览技术指标
3. create_strategy → 根据描述生成Python代码
4. run_backtest → 使用6个月以上的数据进行测试
5. 若表现良好:optimize_strategy → 调整参数
6. 若表现优秀:enhance_with_allora → 添加ML信号
7. run_backtest → 验证优化效果
8. 若准备就绪:deployment_create → 部署到实盘交易成本:约1-5美元,取决于优化和增强操作
Workflow 2: Enhance Existing Strategy
工作流2:优化现有策略
1. get_all_strategies (include_latest_backtest=true) → Find strategy
2. get_strategy_code → Review implementation
3. refine_strategy (mode="new") → Make targeted improvements
4. run_backtest → Test changes
5. If better: enhance_with_allora → Add ML predictions
6. run_backtest → Final validationCost: ~$0.50-2.00
1. get_all_strategies (include_latest_backtest=true) → 查找目标策略
2. get_strategy_code → 查看实现代码
3. refine_strategy (mode="new") → 针对性优化
4. run_backtest → 测试修改效果
5. 若表现提升:enhance_with_allora → 添加ML预测
6. run_backtest → 最终验证成本:约0.50-2.00美元
Workflow 3: Prediction Market Trading
工作流3:预测市场交易
1. get_all_prediction_events → Browse markets
2. get_prediction_market_data → Analyze price history
3. create_prediction_market_strategy → Build YES/NO logic
4. run_prediction_market_backtest → Test performance
5. If profitable: deployment_create → Deploy (when supported)Cost: ~$0.50-5.00
1. get_all_prediction_events → 浏览预测市场
2. get_prediction_market_data → 分析价格历史
3. create_prediction_market_strategy → 构建YES/NO交易逻辑
4. run_prediction_market_backtest → 测试策略表现
5. 若盈利:deployment_create → 部署(支持时)成本:约0.50-5.00美元
Workflow 4: Explore Ideas Before Building
工作流4:构建前探索思路
1. get_all_symbols → Check available pairs
2. get_allora_topics → See ML prediction coverage
3. generate_ideas (strategy_count=3) → Get AI concepts
4. Pick favorite idea
5. create_strategy → Implement chosen concept
6. run_backtest → ValidateCost: ~$0.50-4.50 (use generate_ideas to explore cheaply)
1. get_all_symbols → 查看可用交易对
2. get_allora_topics → 查看ML预测覆盖范围
3. generate_ideas (strategy_count=3) → 获取AI生成的策略概念
4. 选择心仪的思路
5. create_strategy → 实现选定的策略
6. run_backtest → 验证效果成本:约0.50-4.50美元(使用generate_ideas可低成本探索)
Strategy Development Best Practices
策略开发最佳实践
Start with Data Exploration
从数据探索开始
Always check availability before building:
- Use to verify symbol has sufficient history
get_data_availability - Check if planning ML enhancement
get_allora_topics - Review to know what's available
get_all_technical_indicators
构建策略前务必确认数据可用性:
- 使用验证交易对是否有足够的历史数据
get_data_availability - 若计划使用ML增强,查看
get_allora_topics - 查看了解可用指标
get_all_technical_indicators
Always Backtest
务必进行回测
Never deploy without backtesting:
- Test on 6+ months of data minimum
- Use multiple time periods (train vs validation)
- Check metrics: Sharpe >1.0, max drawdown <20%, win rate 45-65%
- Compare performance across different market conditions
绝不跳过回测直接部署:
- 至少使用6个月以上的数据进行测试
- 使用多个时间段(训练集 vs 验证集)
- 检查指标:夏普比率>1.0,最大回撤<20%,胜率45-65%
- 比较策略在不同市场环境下的表现
Cost Management
成本管理
Tools are priced in tiers:
- Data tools ($0.001 or free) - Use liberally
- Backtesting ($0.001) - Use frequently
- AI generation (LLM cost + margin) - Most expensive
- Deployment ($0.50) - One-time per deployment
Cost-saving tips:
- Use ($0.05-0.50) before
generate_ideas($1-4)create_strategy - Check (free) before running new backtest
get_latest_backtest_results - Use ($0.50-1.50) instead of regenerating with
refine_strategycreate_strategy - Review (free) before modifying
get_strategy_code
工具分为不同定价层级:
- 数据工具(0.001美元或免费)- 可随意使用
- 回测工具(0.001美元)- 可频繁使用
- AI生成工具(LLM成本+边际费用)- 成本最高
- 部署工具(0.50美元)- 每次部署一次性收费
成本节约技巧:
- 在使用(1-4美元)前,先使用
create_strategy(0.05-0.50美元)generate_ideas - 运行新回测前,先查看(免费)
get_latest_backtest_results - 使用(0.50-1.50美元)替代
refine_strategy重新生成代码create_strategy - 修改前查看(免费)
get_strategy_code
Strategy Naming Convention
策略命名规范
Follow this pattern:
{Name}_{RiskLevel}[_suffix]Examples:
- - Base strategy, medium risk
RSIMeanReversion_M - - After optimization, high risk
MomentumBreakout_H_optimized - - With Allora ML, low risk
TrendFollower_L_allora
Risk levels: H (high), M (medium), L (low)
遵循以下格式:
{名称}_{风险等级}[_后缀]示例:
- - 基础策略,中等风险
RSIMeanReversion_M - - 优化后策略,高风险
MomentumBreakout_H_optimized - - 集成Allora ML预测,低风险
TrendFollower_L_allora
风险等级:H(高)、M(中)、L(低)
Technical Details
技术细节
Strategy Framework
策略框架
Strategies use the Jesse trading framework with these required methods:
- - Check if conditions met for long entry
should_long() - - Check if conditions met for short entry
should_short() - - Execute long entry with position sizing
go_long() - - Execute short entry with position sizing
go_short()
Optional methods:
- - Set stop loss, take profit after entry
on_open_position(order) - - Trailing stops, position management
update_position() - - Cancel unfilled orders
should_cancel_entry()
策略基于Jesse交易框架开发,需包含以下必填方法:
- - 检查是否满足做多入场条件
should_long() - - 检查是否满足做空入场条件
should_short() - - 执行做多入场并设置仓位大小
go_long() - - 执行做空入场并设置仓位大小
go_short()
可选方法:
- - 入场后设置止损、止盈
on_open_position(order) - - 跟踪止损、仓位管理
update_position() - - 取消未成交订单
should_cancel_entry()
Available Indicators
可用指标
170+ technical indicators via :
jesse.indicators- Momentum: RSI, MACD, Stochastic, ADX, CCI, MFI
- Trend: EMA, SMA, Supertrend, Parabolic SAR, VWAP
- Volatility: Bollinger Bands, ATR, Keltner Channels
- Volume: OBV, Volume Profile, Chaikin Money Flow
- And many more...
Use to see the full list.
get_all_technical_indicators通过提供170+种技术指标:
jesse.indicators- 动量指标:RSI、MACD、随机指标、ADX、CCI、MFI
- 趋势指标:EMA、SMA、Supertrend、抛物转向指标、VWAP
- 波动率指标:布林带、ATR、肯特纳通道
- 成交量指标:OBV、成交量分布、蔡金资金流
- 以及更多...
使用查看完整列表。
get_all_technical_indicatorsAllora Network Integration
Allora Network集成
Add ML price predictions to strategies:
- Prediction types: Log return (percentage change) or absolute price
- Horizons: 5m, 8h, 24h, 1 week
- Assets: BTC, ETH, SOL, NEAR
- Networks: Mainnet (10 topics) and Testnet (26 topics)
Use to automatically integrate predictions, or manually add via in strategy code.
enhance_with_alloraself.get_predictions()为策略添加ML价格预测:
- 预测类型:对数收益率(百分比变化)或绝对价格
- 预测周期:5分钟、8小时、24小时、1周
- 支持资产:BTC、ETH、SOL、NEAR
- 网络:主网(10个主题)和测试网(26个主题)
使用自动集成预测,或在策略代码中通过手动添加。
enhance_with_alloraself.get_predictions()Deployment Options
部署选项
EOA (Externally Owned Account):
- Direct wallet trading
- Max 1 active deployment per wallet
- Immediate deployment
- Lower setup complexity
Hyperliquid Vault:
- Requires 200+ USDC in wallet
- Unlimited deployments
- Professional vault setup
- Public TVL and performance tracking
EOA(外部账户钱包):
- 直接通过钱包交易
- 每个钱包最多1个活跃部署任务
- 部署即时生效
- 设置复杂度低
Hyperliquid Vault:
- 钱包中需有200+ USDC
- 支持无限部署任务
- 专业级金库设置
- 公开TVL和表现跟踪
Troubleshooting
故障排除
"Insufficient Credits" Error
"信用额度不足"错误
Check balance:
Purchase credits in Robonet dashboard if needed
get_credit_balance查看余额:
若需要,在Robonet控制台购买信用额度
get_credit_balance"No Data Available" for Backtest
回测时显示"无可用数据"
Use to check symbol coverage
Try shorter date range or different symbol
BTC-USDT and ETH-USDT have longest history (2020-present)
get_data_availability使用检查交易对的数据覆盖范围
尝试缩短时间范围或更换交易对
BTC-USDT和ETH-USDT的历史数据最久(2020年至今)
get_data_availability"No Trades Generated" in Backtest
回测时"未生成交易"
Entry conditions may be too restrictive
Try longer test period or adjust thresholds
Use to review logic
get_strategy_code入场条件可能过于严格
尝试延长测试时间或调整阈值
使用查看策略逻辑
get_strategy_codeBacktest Takes >2 Minutes
回测耗时超过2分钟
Long date ranges (>2 years) or high-frequency timeframes (1m) are slow
Use shorter ranges or lower frequency timeframes
长时间范围(>2年)或高频时间框架(1分钟)会导致速度缓慢
使用更短的时间范围或更低频率的时间框架
Strategy Not Showing in Web Interface
策略未在Web界面显示
Strategies are linked to API key's wallet
Ensure logged into same account that owns the API key
Refresh "My Strategies" page
策略与API密钥绑定的钱包关联
确保登录的账户与API密钥所属账户一致
刷新"我的策略"页面
Complete Tool Reference
完整工具参考
For detailed parameter documentation on all 24 tools, see:
- ../../shared-references/tool-catalog.md
The catalog includes:
- Full parameter specifications with types and defaults
- Return value descriptions
- Pricing for each tool
- Execution time estimates
- Usage examples
如需了解所有24种工具的详细参数文档,请查看:
- ../../shared-references/tool-catalog.md
该文档包含:
- 完整的参数说明(类型和默认值)
- 返回值描述
- 各工具定价
- 执行时间预估
- 使用示例
Example Prompts
示例提示词
Create a simple strategy:
Use Robonet MCP to create a momentum strategy for BTC-USDT on 4h timeframe that:
- Enters long when RSI crosses above 30 and price is above 50-day EMA
- Exits with 2% stop loss or 4% take profit
- Uses 95% of available marginBacktest existing strategy:
Backtest my RSIMeanReversion_M strategy on ETH-USDT 1h timeframe from 2024-01-01 to 2024-06-30Optimize parameters:
Optimize the RSI period and stop loss percentage for my MomentumBreakout_H strategy on BTC-USDT 4h from 2024-01-01 to 2024-12-31Add ML predictions:
Enhance my TrendFollower_M strategy with Allora predictions for ETH-USDT 8h timeframe and compare performanceDeploy to live trading:
Deploy my RSIMeanReversion_M_allora strategy to Hyperliquid on BTC-USDT 4h with 2x leverage using EOA deployment创建简单策略:
Use Robonet MCP to create a momentum strategy for BTC-USDT on 4h timeframe that:
- Enters long when RSI crosses above 30 and price is above 50-day EMA
- Exits with 2% stop loss or 4% take profit
- Uses 95% of available margin回测现有策略:
Backtest my RSIMeanReversion_M strategy on ETH-USDT 1h timeframe from 2024-01-01 to 2024-06-30优化参数:
Optimize the RSI period and stop loss percentage for my MomentumBreakout_H strategy on BTC-USDT 4h from 2024-01-01 to 2024-12-31添加ML预测:
Enhance my TrendFollower_M strategy with Allora predictions for ETH-USDT 8h timeframe and compare performance部署到实盘交易:
Deploy my RSIMeanReversion_M_allora strategy to Hyperliquid on BTC-USDT 4h with 2x leverage using EOA deploymentSecurity & Access
安全与访问
- All tools require valid API key from Robonet
- Strategies are wallet-scoped (only creator can access)
- Credits reserved atomically before execution
- API keys never committed to version control
- Use environment variables or secure config for API keys
- 所有工具均需有效的Robonet API密钥
- 策略与钱包绑定(仅创建者可访问)
- 执行前会自动预留信用额度
- API密钥切勿提交到版本控制系统
- 使用环境变量或安全配置存储API密钥
Resources
资源
- Robonet Dashboard: robonet.finance
- API Key Management: Dashboard → Settings → API Keys
- Credit Purchase: Dashboard → Settings → Billing
- Jesse Framework Docs: jesse.trade
- Allora Network: allora.network
- Hyperliquid: hyperliquid.xyz
- Support: Discord or support@robonet.finance
- Robonet控制台:robonet.finance
- API密钥管理:控制台 → 设置 → API密钥
- 信用额度购买:控制台 → 设置 → 账单
- Jesse框架文档:jesse.trade
- Allora Network:allora.network
- Hyperliquid:hyperliquid.xyz
- 支持:Discord 或 support@robonet.finance