# Trading API

> Quote, place, monitor, cancel, and reconcile MyStocks master-account and sub-account orders.

The Trading API is the order and portfolio lane of the Partner API. It supports quote-gated market orders, resting order types, executions, portfolios, buying power, fractional cash-value investing, and order lifecycle events.

For analytics, use [Portfolio Performance](/partners/docs/portfolio-performance) for cash-flow-adjusted
daily P\&L, linked time-weighted return, and optional benchmark comparison. `/portfolio/history` remains
the raw equity-snapshot surface.

[Get started](/partners/docs/getting-started-trading)Place and monitor your first sandbox order.
[Order lifecycles](/partners/docs/lifecycles)Understand pending, working, filled, rejected, and cancelled states.
[Trading guide](/partners/docs/trading)Review quotes, order types, time-in-force, cancellation, and portfolios.
[API Tester](/partners/docs/api-tester)Try quote, trade, order, and portfolio operations.

Trading writes require a fresh quote where specified, a valid idempotency key, and the required trading scope. See [Errors](/partners/docs/errors) and [Rate Limits](/partners/docs/rate-limits) before integrating retries.
