Get a single Alpaca order by order ID.
include / exclude: filter which tools are exposed (use full names like alpaca_get_order).minimal: omit provider and provider_fields when True.paper: use Alpaca paper trading instead of live trading.order_id (required): Alpaca order ID.nested (optional): request nested/expanded order representation when supported.This is a request to obtain information. Your API keys are required. An order_id is required.
Order (OpenTools trading schema) or null if not found.
Trading provider identifier. Omitted when minimal=True.
Provider order ID.
Client-supplied order ID when supported.
Instrument symbol (e.g. 'AAPL', 'BTC/USD').
Order side.
buy, sell Order type (e.g. market, limit, stop, stop_limit). Provider-dependent.
Time in force (e.g. day, gtc, ioc, fok). Provider-dependent.
Order status as reported by the provider (e.g. accepted, filled, canceled).
Requested quantity. String to preserve exact precision.
Requested notional amount. String to preserve exact precision.
Filled quantity. String to preserve exact precision.
Average fill price. String to preserve exact precision.
Limit price when applicable. String to preserve exact precision.
Stop price when applicable. String to preserve exact precision.
Submitted timestamp.
Filled timestamp when applicable.
Created timestamp.
Last update timestamp.
Provider-specific fields. Omitted when minimal=True.