Chat Interface Guide
This guide walks you through using Robonet's chat interface to build, test, and deploy algorithmic trading strategies through natural conversation.
Overview
The chat interface provides a conversational way to:
- Generate trading strategy ideas
- Implement strategies with AI assistance
- Run backtests and analyze results
- Optimize strategy parameters
- Integrate Allora Network price predictions
- Deploy strategies to live trading
For traders who prefer natural language over code.
Getting Started
1. Account Creation and Login
Creating Your Account
- Visit the Robonet platform and click "Sign In"
- You'll be prompted to authenticate via Privy
- Privy creates an embedded wallet for you automatically
- If you have an invitation access code, enter it when prompted
- Complete authentication to access your account
Wallet Setup
After authentication, Robonet uses Privy for secure wallet management:
- Embedded Wallet: Privy automatically creates a secure embedded wallet for you
- Wallet Delegation: Authorize Robonet to sign trades on your behalf
- This is a one-time setup step
- Required for live trading deployments
- You can revoke delegation at any time
- External Wallets: You can also connect external Ethereum wallets if preferred
Important: Wallet delegation only allows trading operations. Robonet cannot withdraw funds from your wallet.
Network Information
- Trading: All trades execute on Hyperliquid Perpetuals (Hyperliquid L1)
- Payments: Credits are managed on Base network (USDC)
- Settlement: All trades settle on-chain on Hyperliquid
- Your chat sessions and strategies are linked to your wallet address
2. Starting a Chat Session
Once logged in:
- Click "New Chat" in the sidebar to start a fresh session
- Previous sessions are saved and accessible from the sidebar
- Each session maintains its own conversation history
- Sessions auto-save to your browser's local storage
Screenshot placeholder: Chat interface with sidebar showing session list
Building Strategies
Generating Strategy Ideas
The chat interface helps you brainstorm and refine trading ideas.
Example conversation:
You: I want to build a momentum strategy for Bitcoin
AI: I can help you create a momentum-based strategy. Let me suggest a few approaches:
1. RSI + Moving Average Crossover
2. Breakout strategy with volume confirmation
3. Trend-following with ATR stops
Which approach interests you most, or would you like to explore a different direction?
You: Let's go with the RSI and moving average approach
AI: Great choice! I'll create a momentum strategy that:
- Uses RSI to identify oversold/overbought conditions
- Confirms with EMA crossovers for trend direction
- Includes ATR-based stop losses for risk management
Let me implement this strategy for you...The AI will:
- Ask clarifying questions about your preferences
- Suggest multiple approaches
- Explain the reasoning behind each approach
- Generate a complete strategy implementation
Requesting Strategy Implementation
Once you've refined your idea, ask the AI to implement it:
You: Create this strategy for BTC-USDT on the 4-hour timeframeWhat happens behind the scenes:
- The AI calls the
create_strategytool - You'll see a tool execution status card showing progress
- The strategy code is generated based on your conversation
- The completed strategy is saved to your account
Tool Execution Interface:
While tools execute, you'll see:
- Tool name and status (running/success/error)
- Progress indicators with estimated time
- Expandable details showing execution steps
- Results or error messages when complete
Screenshot placeholder: Tool execution status card showing running state
Testing Strategies
Running Backtests
Once a strategy is created, test it with historical data:
You: Backtest MomentumRSI on BTC-USDT with 4h timeframe for the last 6 monthsThe platform will:
- Execute the
run_backtesttool - Run your strategy against historical data
- Generate performance metrics and equity curve
- Display results in an interactive card
Backtest Parameters:
- Symbol: Trading pair (e.g., BTC-USDT)
- Timeframe: Candlestick interval (1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d)
- Date Range: Historical period to test (default: 6 months)
- Data Source: Currently Hyperliquid Perpetual only
Interpreting Backtest Results
The backtest result card displays key metrics:
Performance Metrics
- Total Return: Overall percentage gain/loss
- Net Profit: Dollar amount of profit/loss
- Annual Return: Annualized performance
- Sharpe Ratio: Risk-adjusted return (higher is better)
< 1.0: Poor risk-adjusted returns1.0 - 2.0: Good performance> 2.0: Excellent performance
- Sortino Ratio: Similar to Sharpe, but only penalizes downside volatility
Risk Metrics
- Max Drawdown: Largest peak-to-trough decline (lower is better)
< 20%: Conservative20-40%: Moderate risk> 40%: Aggressive/high risk
- Calmar Ratio: Return divided by max drawdown (higher is better)
Trading Activity
- Total Trades: Number of completed trades
- Win Rate: Percentage of profitable trades
< 40%: Needs improvement40-60%: Typical for many strategies> 60%: Strong performance
- Profit Factor: Gross profit / gross loss (above 1.0 = profitable)
- Avg Win/Loss: Average profit vs loss per trade
Equity Curve
The equity curve shows your account value over time:
- Upward trend: Strategy is profitable
- Smooth curve: Consistent performance
- Volatile swings: High risk, consider optimization
- Flat line: Strategy isn't trading or is break-even
Screenshot placeholder: Backtest result card with metrics and equity curve chart
Understanding "No Trades" Results
If your backtest shows "No trades executed":
Common causes:
- Entry conditions are too strict
- Timeframe doesn't match strategy logic
- Insufficient historical data for indicators
- Symbol doesn't match strategy requirements
What to do:
- Review strategy entry/exit conditions
- Try a longer backtest period
- Adjust indicator parameters
- Ask the AI to optimize the strategy
Optimizing Strategies
Strategy Optimization Process
If backtest results aren't satisfactory, optimize your strategy:
You: Optimize MomentumRSI to maximize Sharpe ratioThe AI will:
- Call the
optimize_strategytool - Test multiple parameter combinations
- Find optimal values for:
- Indicator periods (RSI, EMA, ATR, etc.)
- Entry/exit thresholds
- Risk management parameters
- Return improved parameters with performance comparison
Optimization Targets:
- Sharpe Ratio: Maximize risk-adjusted returns
- Total Return: Maximize absolute profit
- Max Drawdown: Minimize largest loss
- Win Rate: Maximize percentage of winning trades
- Profit Factor: Maximize profit-to-loss ratio
Example result:
Original Strategy:
- RSI Period: 14
- RSI Oversold: 30
- RSI Overbought: 70
- Sharpe Ratio: 1.2
Optimized Strategy:
- RSI Period: 21
- RSI Oversold: 25
- RSI Overbought: 75
- Sharpe Ratio: 2.1 (+75% improvement)Important Considerations:
- Overfitting Risk: Optimized strategies may perform worse in live trading if over-tuned to historical data
- Multiple Backtests: Test optimized parameters across different time periods
- Walk-Forward Analysis: Ask the AI to validate on out-of-sample data
Allora Network Integration
Price Prediction Enhancement
Allora Network provides ML-powered price predictions. Integrate them into your strategy:
You: Enhance MomentumRSI with Allora Network price predictionsThe AI will:
- Call the
enhance_with_alloratool - Integrate Allora predictions as additional signals
- Adjust entry/exit logic to incorporate ML forecasts
- Generate a new strategy version with Allora integration
How Allora Predictions Work:
- Allora Network aggregates predictions from multiple AI models
- Predictions are made for various time horizons (short/medium/long-term)
- Your strategy can use predictions as:
- Confirmation signals: Enter only when prediction agrees with technical indicators
- Filters: Avoid trades against predicted direction
- Weightings: Adjust position sizing based on prediction confidence
Example Integration:
Original Entry Condition:
- RSI < 30 (oversold)
- Fast EMA crosses above Slow EMA
Enhanced Entry Condition:
- RSI < 30 (oversold)
- Fast EMA crosses above Slow EMA
- Allora 24h prediction shows > 2% upsideBenefits:
- Improved win rate by filtering false signals
- Better risk management through prediction confidence
- Access to institutional-grade ML models
- Reduced drawdowns during market regime changes
Prediction Market Strategies
Create strategies specifically for prediction markets (Polymarket, etc.):
You: Create a prediction market strategy for BTC price in February 2026The AI will:
- Call
get_prediction_market_datato fetch market timeseries - Analyze YES/NO token pricing trends
- Generate a strategy to trade prediction markets
- Backtest on historical prediction market data
Prediction Market Card:
View prediction market data directly in chat:
- YES/NO token prices over time
- Market resolution status
- High/low/current prices
- Interactive dual-token chart
Screenshot placeholder: Prediction market card with YES/NO token timeseries
Deploying Strategies
Deployment Overview
Once you're satisfied with backtest results, deploy your strategy to live trading.
Deployment Types
EOA (Externally Owned Account):
- Trades directly with your connected wallet
- Maximum 1 active deployment per user
- Immediate setup, no minimum balance
- Suited for: Testing with small capital
Hyperliquid Vault:
- Creates a Hyperliquid Vault for your strategy
- Unlimited vaults per user
- Requires 200 USDC minimum
- Suited for: Production trading with larger capital
Creating a Deployment
From chat, request deployment:
You: Deploy MomentumRSI to BTC-USDT on 4h timeframe with 2x leverageOr navigate to your Profile → Strategies tab and click "Deploy" on a saved strategy.
Deployment Configuration:
- Deployment Type: EOA or Hyperliquid Vault
- Symbol: Trading pair (e.g., BTC-USDT)
- Timeframe: Candlestick interval (must match backtest)
- Leverage: 1x - 5x (higher leverage = higher risk)
- Vault Details (if Hyperliquid Vault deployment):
- Vault Name (unique on Hyperliquid)
- Description (minimum 10 characters)
Risk Warnings:
- Leverage amplifies both gains and losses
- Start with lower leverage (1-2x) until proven profitable
- Monitor positions regularly
- Set appropriate stop losses in your strategy
Deployment Lifecycle
Status Flow:
- Pending: Deployment request submitted
- Building: Docker container being created
- Starting: Kubernetes workload launching
- Running: Strategy is live and trading
- Stopping: Deployment shutdown in progress
- Stopped: Deployment inactive
- Failed: Error occurred (check logs)
Monitoring:
The Live Strategies page shows:
- Status: Current deployment state
- TVL: Total Value Locked (vault only)
- PnL: Profit and Loss (absolute + percentage)
- Returns: 24h/7d/30d performance
- Chart: Mini equity curve
- Trading: Active/inactive indicator
- Actions: Stop/Start/Retry buttons
Optimistic UI:
When you stop/start a deployment, the UI updates immediately while the API call completes in the background. This provides instant feedback without waiting for server response.
Screenshot placeholder: Live Strategies table with multiple deployments
Managing Deployments
From the Chat Interface:
You: Stop my BTC-USDT deployment
You: Start the MomentumRSI deployment againFrom the Live Strategies Page:
- Navigate to Profile → Live Strategies
- Find your deployment in the table
- Click the action button (⋮) in the Actions column
- Select Stop/Start/Retry
Deployment Constraints:
- EOA Deployments: Only 1 active at a time (must stop existing before starting a new one)
- Hyperliquid Vault Deployments: Unlimited active deployments
- Wallet Delegation Required: Must authorize delegation before deploying
- Insufficient Balance: Deployment will fail if insufficient USDC in wallet
Error Handling:
- Insufficient Credits: Add credits to your account
- Failed Deployment: Check error message and retry
- Connection Issues: Deployments continue running even if you disconnect
Tips and Best Practices
Strategy Development
- Start Simple: Begin with basic strategies before adding complexity
- Backtest Thoroughly: Test on at least 6 months of data, preferably 1+ year
- Multiple Timeframes: Validate strategy on different timeframes
- Out-of-Sample Testing: Reserve recent data for final validation
- Walk-Forward: Test on rolling windows, not just one period
Risk Management
- Conservative Leverage: Start with 1-2x leverage
- Position Sizing: Never risk more than 2-5% of capital per trade
- Stop Losses: Always include stop losses in your strategy
- Max Drawdown: Don't deploy strategies with >40% historical drawdown
- Diversification: Run multiple uncorrelated strategies
Live Trading
- Paper Trade First: Use testnet to verify strategy execution
- Small Capital: Start with minimum viable amount
- Monitor Closely: Check deployments daily for the first week
- Performance Tracking: Compare live performance to backtest
- Kill Switches: Know how to stop deployments quickly if needed
Using the Chat Effectively
- Be Specific: Provide clear requirements (symbol, timeframe, risk tolerance)
- Iterate: Start with a concept, refine through conversation
- Ask Questions: The AI can explain concepts and strategy logic
- Request Modifications: Ask for specific changes to strategies
- Save Sessions: Name sessions descriptively for easy reference
Troubleshooting
Common Issues
"Insufficient Credits" Error:
- Solution: Add credits via Profile → Billing
- Tool execution requires credits based on complexity
- AI tools bill actual LLM cost + margin
Deployment Won't Start:
- Check wallet delegation is authorized
- Verify sufficient USDC balance (200 min for vaults)
- Ensure no other EOA deployment is active
- Check error message in deployment status
No Trades in Backtest:
- Entry conditions may be too restrictive
- Try longer backtest period
- Adjust indicator parameters
- Ask AI to optimize or debug strategy
Chat Session Not Loading:
- Clear browser cache and reload
- Check network connection
- Try creating a new session
- Contact support if issue persists
Message Queue Stuck:
- If message shows "sending" indefinitely, refresh page
- Previous message must complete before next is sent
- Cancel operation if needed
Getting Help
In-Chat Support:
You: I need help understanding why my strategy has no tradesThe AI can:
- Debug strategy logic
- Explain metrics and results
- Suggest improvements
- Guide through platform features
External Resources:
- MCP Tools Reference - Full list of available tools
- Backtesting Guide - Deep dive into backtest analysis
- Deployment Guide - Detailed deployment documentation
- Discord Community - Ask questions and share strategies
- GitHub Issues - Report bugs
- Email Support - Direct assistance
Next Steps
- Explore MCP Server Setup for programmatic access
- Learn About Backtesting in detail
- Understand Allora Integration for ML predictions
- Review Billing & Credits for cost management
- Read MCP Tools Reference for all available tools
Note: Screenshots will be added in a future update. Placeholder notes indicate where visual aids will be inserted.