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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| amount | Yes | ||
| direction | Yes | ||
| expiration | Yes |