{
  "success": true,
  "message": "Crypto Prediction API",
  "version": "2.0.0",
  "endpoints": {
    "health": "GET /health - Check API status",
    "trades": {
      "list": "GET /trades?status={open|closed}&symbol={BTC|ETH|BNB}&timeframe={short-term|medium-term|long-term}&limit=100&offset=0",
      "get": "GET /trades/:id - Get specific trade",
      "stats": "GET /trades/stats?timeframe={short-term|medium-term|long-term}&symbol={BTC|ETH|BNB}",
      "byTimeframe": "GET /trades/by-timeframe - Group trades by timeframe"
    },
    "balances": "GET /balances - All balances (overall + by timeframe)",
    "predictions": "GET /predictions?symbol={BTC|ETH|BNB}&timeframe={short-term|medium-term|long-term}&limit=50",
    "accuracy": "GET /accuracy - Prediction accuracy statistics"
  },
  "examples": {
    "Open trades": "curl http://localhost:3000/trades?status=open",
    "Short-term trades": "curl http://localhost:3000/trades?timeframe=short-term",
    "BTC trades": "curl http://localhost:3000/trades?symbol=BTC",
    "Combined filter": "curl http://localhost:3000/trades?status=closed&timeframe=short-term&symbol=BTC",
    "Stats by timeframe": "curl http://localhost:3000/trades/stats?timeframe=short-term",
    "Group by timeframe": "curl http://localhost:3000/trades/by-timeframe",
    "All balances": "curl http://localhost:3000/balances"
  }
}