canli-mcp / Quant finance
Position size from a stop loss
Size a trade so that hitting the stop loses a fixed fraction of equity: shares, notional, capital at risk and leverage, optionally capped by a maximum position weight.
The tool is position_size_from_stop in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It comes from canli-quant-mcp, which canli-mcp includes, and it is also its own server.
Arguments
| Argument | Required | Type |
|---|---|---|
equity | yes | number |
risk_fraction | yes | number |
entry | yes | number |
stop | yes | number |
max_weight | no | number |
lot_size | no | integer |
How a model reaches it
Ask in plain words. The model finds position_size_from_stop 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": "position_size_from_stop",
"arguments": {
"equity": "<number>",
"risk_fraction": "<number>",
"entry": "<number>",
"stop": "<number>"
}
}Words that find it
Besides its name, title and description, find_tool matches a question to position_size_from_stop on these words: position, sizing, stop, loss, fixed, fractional, risk, per, trade, shares, how, many.
More
Nothing here is investment advice.