Skip to content

KB/api

POST /api/v1/trading/trades

Last verified

Auto-generated. This article is rebuilt from FastAPI route introspection by scripts/build_api_kb.py. Edit the route docstring in app/ and re-run the script β€” do not edit this file directly.

POST /api/v1/trading/trades

Handler: app.trading.routes.initiate_stock_trade
Methods: POST

Description

Initiate a STOCK trade. For options, use POST /trades/options instead.

Optional play_id (1-32 chars, ^[a-z0-9][a-z0-9_-]*$) tags which trading play fired the order; it is recorded on the resulting fill so a play’s graduation ledger is a query. Omit it for untagged orders (default null).

Curl

curl -s https://bigclawd.com/api/v1/trading/trades