create_limit_order
Place a limit order on an Algorand prediction market with price and quantity in microunits; locks ~0.957 ALGO collateral refundable on cancel or fill.
Instructions
Place a limit order on a prediction market. Price and quantity in microunits (500000 = $0.50, 1000000 = 1 share). Locks ~0.957 ALGO collateral (refunded on cancel/fill). Returns escrowAppId — save it for cancel_order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Price in microunits (e.g. 500000 = $0.50) | |
| isBuying | Yes | true = buy order, false = sell order | |
| position | Yes | 1 = Yes, 0 = No | |
| quantity | Yes | Quantity in microunits (e.g. 1000000 = 1 share) | |
| marketAppId | Yes | The market app ID |