Estimate Max Purchase Quantity
estimate_max_purchase_quantityEstimates the maximum buy or sell quantity for a security symbol. Specify side, order type, and limit price for accurate calculations.
Instructions
Estimate maximum buy/sell quantity for a symbol. Only symbol is required; side (case-insensitive Buy/Sell) defaults to Buy, order_type (case-insensitive) defaults to LO, and price is optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Buy or Sell (case-insensitive; default: Buy) | Buy |
| price | No | Limit price for limit-style orders. Omit for market orders. | |
| symbol | Yes | Security symbol, e.g. "700.HK" | |
| order_type | No | Order type, case-insensitive (default: LO): LO (Limit Order) / ELO (Enhanced Limit Order) / MO (Market Order) / AO (At-auction) / ALO (At-auction Limit Order) | LO |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cash_max_qty | Yes | ||
| margin_max_qty | Yes |