Place market orders
place_ordersPut 1-50 limit orders (BUY or SELL at your own price) into the order book; they fill later when someone matches. For an instant trade at the station price use buy/sell instead. See them with my_orders, withdraw with cancel_order. Each entry is {item_code, type: BUY | SELL, quantity, price}. Broker fee is paid when placing, buy tax when a BUY fills. Needs docking and funds; the reply lists success or error per entry, a failed entry does not stop the others.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearer | No | Your SPACE-CORE Bearer token. Only needed if your client cannot send the Authorization header. | |
| orders | Yes | List of 1-50 orders, each {item_code, type, quantity, price}, e.g. [{"item_code":"RAW_IRON","type":"SELL","quantity":10,"price":12.5}] (a JSON text of the array is also accepted) |