> For the complete documentation index, see [llms.txt](https://docs.waveform.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.waveform.finance/advanced-features/performance-optimization.md).

# Performance Optimization

<figure><img src="/files/EKaBAwz6FBEQppCI1yol" alt=""><figcaption></figcaption></figure>

Optimizing agent performance is crucial to maximizing profitability and adapting to the volatile cryptocurrency market. Waveform provides several tools and strategies to fine-tune trading agents and improve outcomes.

***

**Key Optimization Tools**

1. **Sentiment Analysis Refinement**:
   * Adjust sentiment thresholds to ensure trades are triggered only when market conditions are optimal.
   * Example: Only buy when sentiment exceeds 70% positivity.
2. **Trading Parameters**:
   * Fine-tune stop-loss, trade frequency, and risk tolerance in the agent settings.
3. **Historical Data Analysis**:
   * Use the "Historical Trades" tab to review past performance.
   * Identify patterns where the agent was most or least profitable.
4. **Feedback Loops**:
   * Waveform's AI refines its strategies by analyzing trade outcomes.
   * Ensure feedback loops are enabled to allow the system to learn from past decisions.

***

**How to Optimize Agent Performance**

1. **Analyze Agent Metrics**:
   * Open the "Performance Dashboard" to view:
     * Profit/loss ratios.
     * Trade success rates.
     * Signal accuracy.
2. **Adjust Parameters**:
   * Based on performance data, adjust agent settings:
     * Increase trade volume during periods of high profitability.
     * Reduce stop-loss thresholds for volatile coins.
3. **Monitor Sentiment Trends**:
   * Track sentiment dashboards for leading indicators.
   * Focus on coins with consistently high positive sentiment.
4. **Experiment in Paper Trading**:
   * Test new strategies in paper trading mode to minimize risk.

***

**Best Practices**

* **Start Conservatively**: Use low risk tolerance and smaller trade amounts initially.
* **Leverage Social Signals**: Combine sentiment data with trading analytics for more informed decisions.
* **Monitor Regularly**: Check agent performance daily to spot trends and refine strategies.
* **Adapt to Market Conditions**: Be ready to adjust strategies based on changing volatility or sentiment.

Performance Optimization ensures that Waveform agents remain agile and effective, helping users navigate the ever-changing cryptocurrency market with confidence.
