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

As the server declares them
ArgumentRequiredType
target_weightsyesobject
cash_buffernonumber
min_trade_usdnonumber
liquidate_othersnoboolean
allow_shortnoboolean
allow_leveragenoboolean
feesno{commission_bps,per_share_usd,as_of}
limitsnoobject

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.