Trading Endpoints
Post Order
Place a new trading order.
POST
/
trading
/
order
Header
Body
curl --request POST \
--url https://sandbox.featherhq.com/trading/order \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"account_id": "AB1234",
"order_direction": "BUY",
"order_qty": 100,
"order_symbol": "MSFT"
}'
Headers
x-api-key
string
requiredAPI Key for authentication
Body
application/json
account_id
string
Unique identifier for the account.
order_direction
enum<string>
Direction of the order (BUY/SELL).
Available options:
BUY
, SELL
order_qty
integer
Quantity of the order.
order_symbol
string
Symbol of the order.
curl --request POST \
--url https://sandbox.featherhq.com/trading/order \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"account_id": "AB1234",
"order_direction": "BUY",
"order_qty": 100,
"order_symbol": "MSFT"
}'