trading_strategy_compile
Convert a natural-language trading strategy into a strict, versioned JSON schema that the trading agent enforces exactly. Define your chain (base/solana/any), mode (paper first, then live after 20 proven trades), assets, entry/exit conditions, confidence threshold, max position size %, daily drawdown hard stop, and max daily trades. Returns a strategy_id you use with trading_propose to generate proposals. Paper mode is the default — no real money, no risk. Live requires 20+ paper trades + explicit acknowledgment. CALL FORMAT: trading_strategy_compile({description: 'Mean reversion on SOL. Entry when RSI<30. Max 2% position. 5% daily drawdown hard stop.', chain: 'solana', mode: 'paper', email: 'you@example.com'})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | paper (default, no real money) or live (requires 20+ paper trades + acknowledgment). | |
| chain | No | Execution chain. Default: 'any'. | |
| No | Your email — ties strategy to your identity for journal tracking across sessions. | ||
| description | Yes | Free-text description of your strategy. Include: assets, entry/exit conditions, risk rules, timeframe, confidence threshold. The more specific, the stricter the compiled schema. |