place_trade
Open a binary-options trade by specifying asset, direction (call/put), amount, and expiration in seconds. Returns a request_id to check the trade result.
Instructions
Open a binary-options trade.
direction: 'call'/'up' (price goes up) or 'put'/'down' (price goes down).
amount: stake in the account currency.
expiration: duration in SECONDS — any value the asset allows (e.g. 60, 180,
300). Check get_asset_info for the allowed list.
Returns the opened trade including request_id; pass it to check_result to
learn win/loss. Real-money orders are refused unless the server was started
with PO_ALLOW_REAL=1.
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": {
"asset": "<asset>",
"direction": "<direction>",
"amount": "<amount>",
"expiration": "<expiration>"
},
"name": "place_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| amount | Yes | ||
| direction | Yes | ||
| expiration | Yes |