Allows you to execute buy (BUY) or sell (SELL) operations for market assets. The trade can be of type MARKET (market order) or LIMIT (limit order). You can specify the amount in USD or the number of shares to buy/sell, but not both at the same time.
API Key authentication. Obtain your API key from the Wallbit dashboard under Settings → API Keys.
Asset symbol (e.g., AAPL, TSLA, MSFT)
"AAPL"
Trade direction
BUY, SELL "BUY"
Currency (only USD supported)
"USD"
Order type
MARKET, LIMIT, STOP, STOP_LIMIT "MARKET"
Amount in USD (required if shares not specified)
100
Number of shares (required if amount not specified)
5
Stop price (required for STOP and STOP_LIMIT)
150
Limit price (required for LIMIT and STOP_LIMIT)
145.5
Time in force (required for LIMIT)
DAY, GTC "DAY"
Trade created successfully