place_market_order
Execute a market order at the current price to buy or sell shares immediately. Specify ticker and quantity (positive to buy, negative to sell; fractional shares supported). Requires prior instrument search and cash check.
Instructions
Execute a market order at the current price. This creates a real trade that
affects your portfolio immediately. The order fills at the best available
market price.
Use search_instrument first to find the correct ticker symbol. Check
fetch_account_cash to verify sufficient buying power before placing.
Args:
ticker: Instrument ticker to trade (e.g., 'AAPL_US_EQ', 'MSFT_US_EQ').
Use search_instrument to find valid tickers.
quantity: Number of shares. Positive to buy, negative to sell.
Fractional shares are supported (e.g., 0.5).
Returns:
Order: The newly created order with its initial statusInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| quantity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ticker | Yes | ||
| type | No | ||
| status | No | ||
| quantity | No | ||
| filledQuantity | No | ||
| filledValue | No | ||
| limitPrice | No | ||
| stopPrice | No | ||
| strategy | No | ||
| value | No | ||
| creationTime | No |