TWAZI

Reflection Agent

AI agent that analyzes trading history to provide insights and improvements.

Inputs

  • Recent Trading Decisions required: History of recent trading actions and outcomes
  • OpenAi Credentials required: OpenAI API credentials for analysis
  • Prompt: Optional custom prompt to guide the reflection process

Example

{
  "Recent Trading Decisions": [
    {
      "timestamp": "2025-05-05T10:00:00Z",
      "action": "BUY",
      "asset": "BTC",
      "price": 52000,
      "outcome": "profit",
      "reasoning": "Strong market momentum and positive news..."
    }
  ],
  "OpenAi Credentials": "YOUR_OPENAI_API_KEY",
  "Prompt": "Focus on identifying patterns in successful trades and areas for improvement"
}

Outputs

  • Reflection Feedback: Detailed analysis of trading performance with actionable insights and recommendations
Reflection agent workflow example

On this page

Edit on GitHub