canli-mcp / Paper trading
Rebalance to weights
Turn target portfolio weights into the whole-share orders that move your paper account there (sells first), check them, and return a confirmation token when all pass.
The tool is rebalance_to_weights in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It is in the paper-trading pack, which is off until it is turned on, and it never places a real order.
Arguments
| Argument | Required | Type |
|---|---|---|
target_weights | yes | object |
cash_buffer | no | number |
min_trade_usd | no | number |
liquidate_others | no | boolean |
allow_short | no | boolean |
allow_leverage | no | boolean |
fees | no | {commission_bps,per_share_usd,as_of} |
limits | no | object |
How a model reaches it
Ask in plain words. The model finds rebalance_to_weights with canli-mcp's find_tool, reads its arguments with describe_tool if it needs to, and runs it with run_tool. The call has this shape, with your values in place of the angle brackets:
{
"name": "rebalance_to_weights",
"arguments": {
"target_weights": "<object>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to rebalance_to_weights on these words: target, allocation, weights, rebalance, trades, orders.
More
Nothing here is investment advice.