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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orders": "<orders>"
},
"name": "place_orders"
}
}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_TITANIUM","type":"SELL","quantity":10,"price":12.5}] (a JSON text of the array is also accepted) |