alpha_create_limit_order
Place limit orders on Alpha Arcade prediction markets to buy or sell shares at specified prices, requiring collateral and returning an escrow ID for order management.
Instructions
Place a limit order on an Alpha Arcade prediction market. Price and quantity in microunits (500000 = $0.50, 1000000 = 1 share). Locks ~0.957 ALGO collateral. Returns escrowAppId — save it for cancel_order.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marketAppId | Yes | The market app ID | |
| position | Yes | 1 = Yes, 0 = No | |
| price | Yes | Price in microunits (e.g. 500000 = $0.50) | |
| quantity | Yes | Quantity in microunits (e.g. 1000000 = 1 share) | |
| isBuying | Yes | true = buy order, false = sell order | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |