Turn an order in PM terms (market reference, outcome, PM or shares, price in percent) into the exact place-order arguments
kellian_plan_pm_orderTurn an order in PM terms (market reference, outcome label, PM budget or shares, price in percent) into the exact kellian_place_limit_order arguments, with an estimate and the market minimums. Read-only; refuses in plain words.
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": {
"marketReference": "<marketReference>",
"outcome": "<outcome>",
"action": "<action>",
"orderType": "<orderType>"
},
"name": "kellian_plan_pm_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| shares | No | Sell or limit order: the number of shares. | |
| outcome | Yes | The outcome label, exactly as the market shows it. | |
| budgetPm | No | Market buy only: the PM to spend, fee included. | |
| expiresAt | No | Limit order only, optional: when it stops resting. Without it, the order rests until trading ends. | |
| orderType | Yes | ||
| marketReference | Yes | A market reference from discovery, such as "mkt_…". | |
| limitPricePercent | No | Limit order only: the price per share in percent, on the market’s price steps. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |