{
  "bot": {
    "alerts_received": 0,
    "trades_executed": 4,
    "last_alert": {
      "time": "2026-04-15T17:11:41.911997",
      "hash": "buy:BTCUSDT:74200"
    },
    "last_trade": {
      "time": "2026-04-15T17:11:41.912534"
    },
    "start_time": "2026-04-17T07:59:54.282714",
    "status": "running",
    "dedup_window_seconds": 30,
    "recent_webhook_logs": [
      {
        "timestamp": "2026-04-14T18:30:06.652843",
        "raw_body": "{'action': 'sell', 'symbol': 'BTCUSDT', 'price': 74524.36}",
        "parsed_alert": {
          "action": "sell",
          "symbol": "BTCUSDT",
          "price": 74524.36
        },
        "result": {
          "success": true,
          "status": "position_flipped",
          "from_side": "LONG",
          "to_side": "SHORT",
          "close_result": {
            "success": true,
            "order_id": "DRY_1776191406651_5",
            "status": "FILLED",
            "simulated": true
          },
          "open_result": {
            "success": true,
            "order_id": "DRY_1776191406652_6",
            "status": "FILLED",
            "simulated": true
          },
          "realized_pnl": "1.597587734058448988382893373"
        },
        "position_before": "SHORT"
      },
      {
        "timestamp": "2026-04-15T01:15:03.716304",
        "raw_body": "{'action': 'buy', 'symbol': 'BTCUSDT', 'price': 74742.65}",
        "parsed_alert": {
          "action": "buy",
          "symbol": "BTCUSDT",
          "price": 74742.65
        },
        "result": {
          "success": true,
          "status": "position_flipped",
          "from_side": "SHORT",
          "to_side": "LONG",
          "close_result": {
            "success": true,
            "order_id": "DRY_1776215703715_7",
            "status": "FILLED",
            "simulated": true
          },
          "open_result": {
            "success": true,
            "order_id": "DRY_1776215703715_8",
            "status": "FILLED",
            "simulated": true
          },
          "realized_pnl": "-1.464554677155228169688407925"
        },
        "position_before": "LONG"
      },
      {
        "timestamp": "2026-04-15T17:09:46.411376",
        "raw_body": "{'action': 'buy', 'symbol': 'BTCUSDT', 'price': 75000}",
        "parsed_alert": {
          "action": "buy",
          "symbol": "BTCUSDT",
          "price": 75000
        },
        "result": {
          "success": true,
          "status": "skipped",
          "reason": "already_long"
        },
        "position_before": "LONG"
      },
      {
        "timestamp": "2026-04-15T17:09:50.567961",
        "raw_body": "{'action': 'sell', 'symbol': 'BTCUSDT', 'price': 74500}",
        "parsed_alert": {
          "action": "sell",
          "symbol": "BTCUSDT",
          "price": 74500
        },
        "result": {
          "success": true,
          "status": "position_flipped",
          "from_side": "LONG",
          "to_side": "SHORT",
          "close_result": {
            "success": true,
            "order_id": "DRY_1776272990567_1",
            "status": "FILLED",
            "simulated": true
          },
          "open_result": {
            "success": true,
            "order_id": "DRY_1776272990567_2",
            "status": "FILLED",
            "simulated": true
          },
          "realized_pnl": "-1.623236532287790170672300219"
        },
        "position_before": "SHORT"
      },
      {
        "timestamp": "2026-04-15T17:11:42.134033",
        "raw_body": "{'action': 'buy', 'symbol': 'BTCUSDT', 'price': 74200}",
        "parsed_alert": {
          "action": "buy",
          "symbol": "BTCUSDT",
          "price": 74200
        },
        "result": {
          "success": true,
          "status": "position_flipped",
          "from_side": "SHORT",
          "to_side": "LONG",
          "close_result": {
            "success": true,
            "order_id": "DRY_1776273101912_1",
            "status": "FILLED",
            "simulated": true
          },
          "open_result": {
            "success": true,
            "order_id": "DRY_1776273101912_2",
            "status": "FILLED",
            "simulated": true
          },
          "realized_pnl": "2.013422818791946308724832215"
        },
        "position_before": "LONG"
      }
    ]
  },
  "position": {
    "symbol": "BTCUSDT",
    "side": "LONG",
    "size": "0.006738544474393530997304582210",
    "entry_price": "74200",
    "unrealized_pnl": "-18.19407008086253369272237197",
    "realized_pnl": "0.523219343407376956747017444"
  },
  "performance": {
    "total_trades": 4,
    "realized_pnl": "$0.52",
    "unrealized_pnl": "$-18.19"
  }
}