{
  "service": "rebalance_plan",
  "name": "Portfolio rebalance, priced against the pools that would execute it",
  "price_display": "0.10 $U",
  "task": "rebalance holdings [{\"token\":\"0x245c386dcfed896f5c346107596141e5edcbffff\",\"usd\":700},{\"token\":\"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\",\"usd\":300}] to equal weight",
  "produced_at": "2026-09-16T11:15:46.193Z",
  "took_ms": 6651,
  "result": {
    "service": "rebalance_plan",
    "plan": {
      "portfolio": {
        "total_usd": 1000,
        "holdings": 2,
        "priced": 2
      },
      "legs": [
        {
          "token": "0x245c386dcfed896f5c346107596141e5edcbffff",
          "symbol": "BOBAI",
          "price_usd": 0.0001414534384807993,
          "current_usd": 700,
          "current_pct": 70,
          "target_pct": 50,
          "target_usd": 500,
          "drift_pct": 20,
          "action": "sell $200.00",
          "trade_usd": -200,
          "cost_pct": 3.94,
          "cost_usd": 7.88,
          "cost_basis": "measured",
          "pool": {
            "address": "0x6eadd4cb786898b34929444988380ed0cc6fd9a6",
            "venue": "PancakeSwap V2",
            "one_pct_depth_usd": 133
          },
          "transfer_tax": {
            "buy_pct": 3,
            "sell_pct": 3,
            "source": "measured from executed trades on-chain"
          }
        },
        {
          "token": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
          "symbol": "Cake",
          "price_usd": 2.1719076952552596,
          "current_usd": 300,
          "current_pct": 30,
          "target_pct": 50,
          "target_usd": 500,
          "drift_pct": -20,
          "action": "buy $200.00",
          "trade_usd": 200,
          "cost_pct": 0.2525,
          "cost_usd": 0.51,
          "cost_basis": "measured",
          "pool": {
            "address": "0x0ed7e52944161450477ee417de9cd3a859b14fd0",
            "venue": "PancakeSwap V2",
            "one_pct_depth_usd": 47976
          },
          "transfer_tax": {
            "buy_pct": 0,
            "sell_pct": 0,
            "source": "measured from executed trades on-chain"
          }
        }
      ],
      "economics": {
        "value_to_move_usd": 200,
        "drift_pct_of_portfolio": 20,
        "cost_to_rebalance_usd": 8.38,
        "cost_pct_of_portfolio": 0.8385,
        "cost_pct_of_value_moved": 4.1925,
        "worth_it_if": "the corrected allocation is worth more to you than 4.19% of the money you move. That is a judgement about risk, not a quantity in any pool, so this does not pretend to make it for you.",
        "explanation": "Rebalancing moves value from overweight positions to underweight ones and pays swap fee, price impact and transfer tax to do it. Those costs are measured here. What the correction is worth is not measurable from the chain — a rebalance does not earn the dollars it moves — so the cost is given as a share of the money moved and the decision stays with you."
      },
      "where_the_cost_sits": [
        {
          "leg": "BOBAI",
          "cost_usd": 7.88,
          "cost_pct": 3.94,
          "share_of_cost_pct": 94,
          "share_of_value_moved_pct": 50
        },
        {
          "leg": "Cake",
          "cost_usd": 0.51,
          "cost_pct": 0.2525,
          "share_of_cost_pct": 6.1,
          "share_of_value_moved_pct": 50
        }
      ],
      "verdict": "Moving $200.00 of exposure costs $8.38 — 4.19% of the money moved, 0.84% of the portfolio. The cost is not spread evenly: BOBAI is 50% of the value moved but 94% of the bill, at 3.94% on its own leg. What makes rebalancing this portfolio expensive is that one holding, and no execution tactic changes that — only holding less of it, or accepting that it drifts.",
      "warnings": [
        "BOBAI: the trade is $200 against a pool where $133 moves the price 1%. A trade that size moves the price it is being measured at, and the cost above is the optimistic end of what it will actually pay."
      ],
      "what_this_is_not": "A view on what you should hold. You bring the target weights; this prices the route to them against the pools that would execute it. Measurement only, not financial advice.",
      "measured_at": "2026-09-16T11:15:46.193Z",
      "source": "Pools measured live via https://brainonbnb.com/scanner — the same arithmetic the public scanner, the installable skill and the grid agent run."
    }
  },
  "note": "Run by the same code a funded job runs, on the sentence the hire box opens with. Not a paid job; the figures are from the moment above.",
  "cached": true
}