"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
test(portfolio): fix CI — regenerate capability matrix, align live-runner assertion
Jackzigencfb8d25ecec1
diff --git a/README.md b/README.mdindex 6cc68b354..fe8cda6a4 100644--- a/README.md+++ b/README.md@@ -531,7 +531,7 @@ use a broker sandbox or local simulation. See each profile's notes and the| `okx-paper-sdk` | okx | paper | broker_sdk | read-only | `account.read`, `history.read`, `orders.read`, `positions.read`, `quotes.read` | broker_sdk | none declared | disabled (read-only) || `okx-paper-trade` | okx | paper | broker_sdk | write-enabled | `account.read`, `history.read`, `orders.read`, `positions.read`, `quotes.read` | broker_sdk | `orders.place` | no mandate declared || `robinhood-live-mcp` | robinhood | live | remote_mcp | write-enabled | `account.read`, `orders.read`, `positions.read`, `quotes.read` | remote_mcp | `orders.place.requires_mandate`, `runner.manage.requires_mandate` | mandate required |-| `robinhood-live-mcp-readonly` | robinhood | live | remote_mcp | read-only | `account.read`, `positions.read` | none declared | none declared | disabled (read-only) |+| `robinhood-live-mcp-readonly` | robinhood | live | remote_mcp | read-only | `account.read`, `positions.read`, `quotes.read` | remote_mcp | none declared | disabled (read-only) || `scalable-live-mcp-readonly` | scalable | live | remote_mcp | read-only | `quotes.read` | remote_mcp | none declared | disabled (read-only) || `shoonya-live-sdk-readonly` | shoonya | live | broker_sdk | read-only | `account.read`, `history.read`, `orders.read`, `positions.read`, `quotes.read` | broker_sdk | none declared | disabled (read-only) || `shoonya-paper-sdk` | shoonya | paper | broker_sdk | read-only | `account.read`, `history.read`, `orders.read`, `positions.read`, `quotes.read` | broker_sdk | none declared | disabled (read-only) |diff --git a/agent/tests/test_api_live_runtime.py b/agent/tests/test_api_live_runtime.pyindex edfbba78e..6a915aa0d 100644--- a/agent/tests/test_api_live_runtime.py+++ b/agent/tests/test_api_live_runtime.py@@ -1122,8 +1122,10 @@ def test_build_live_runner_reads_normalize_adapter_payloads(tmp_path, monkeypatcmonkeypatch.setattr(api_server, "_mandate_account_ref", lambda broker: "5QR00001")runner = api_server._build_live_runner("robinhood")+ # ``broker_type`` is the row's ``type`` verbatim ('long'/'short'/...); the+ # generic reader never interprets it.assert runner._read_positions() == [- {"symbol": "NVDA", "quantity": "3", "average_cost": "100.00", "broker_type": "unobserved", "qty": "3"}+ {"symbol": "NVDA", "quantity": "3", "average_cost": "100.00", "broker_type": "long", "qty": "3"}]assert runner._read_open_orders() == [{"order_id": "o1"}]assert runner._read_balance()["buying_power"] == "4200.00"