Trade (Alpaca)

Submit orders through the Alpaca-backed execution adapter when the API is configured for Alpaca; otherwise the server uses the mock broker. Optional credentials below override PYACTUATOR_ALPACA_* for this request only (JSON alpaca_auth). For status and cancel, use the Orders page. Toasts confirm when an order is accepted or rejected.

Submit order

Allowed values may vary by symbol/asset per broker.

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: