Get portfolio crowding
get_portfolio_crowdingWhen to use: the caller wants to know which holdings are crowded, meaning a speculative net position that is extreme versus the last three years and is already moving against that crowd.
Inputs: portfolio_id from list_portfolios. The caller's token is the owner scope. Do not pass a user id or a symbol list. The route reads that portfolio's holdings.
What comes back: the route JSON, unchanged. window is 3Y. percentile is 0 to 100, and 100 is the most net long of that window. A crowded long is percentile at or above 90 with price down over four weeks. A crowded short is percentile at or below 10 with price up over four weeks. reading is crowded_long, crowded_short, or neutral. A holding the route cannot score is named in missing and is not a neutral reading. A portfolio the token does not own is the same not-found answer as a missing id.
Args:
portfolio_id: The portfolio UUID from list_portfolios
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"portfolio_id": "<portfolio_id>"
},
"name": "get_portfolio_crowding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | No | Strategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy. | |
| portfolio_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |