Permite ejecutar operaciones de compra (BUY) o venta (SELL) de activos en el mercado. El trade puede ser de tipo MARKET (orden a precio de mercado) o LIMIT (orden limitada). Se puede especificar el monto en USD o la cantidad de acciones (shares) a comprar/vender, pero no ambos simultáneamente.
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