Orders (Alpaca)

Submit and manage orders via the Alpaca-backed API when configured; mock broker otherwise. Optional credentials override the API process for this browser session (body alpaca_auth or matching headers on GET/DELETE). Toasts summarize each command; JSON responses stay below each form.

Optional Alpaca credentials

Leave blank to use the API server's configured broker (PYACTUATOR_ALPACA_* env). For POST /orders, JSON body alpaca_auth is used; for GET/DELETE, the documented Alpaca headers are applied.

Paper trading:

Submit order

Allowed values may vary by symbol/asset per broker.

Get order status

Cancel order