alpha_get_orderbook
Fetch and merge all four sides of an Algorand blockchain orderbook into a unified YES-perspective view, including spread calculation for market analysis.
Instructions
Fetch the on-chain orderbook as a unified YES-perspective view. Merges all 4 sides (YES bids/asks + NO bids/asks). Includes spread calculation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marketAppId | Yes | The market app ID | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |