createOrder
Place cryptocurrency buy or sell orders on exchanges by specifying account, symbol, type, side, and amount.
Instructions
Create a new order using a configured account
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": {
"accountName": "<accountName>",
"symbol": "<symbol>",
"type": "<type>",
"side": "<side>",
"amount": "<amount>"
},
"name": "createOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountName | Yes | Account name defined in the configuration file (e.g., 'bybit_main') | |
| symbol | Yes | Trading symbol (e.g., 'BTC/USDT') | |
| type | Yes | Order type: 'market' or 'limit' | |
| side | Yes | Order side: 'buy' or 'sell' | |
| amount | Yes | Amount of base currency to trade | |
| price | No | Price per unit (required for limit orders) | |
| params | No | Additional exchange-specific parameters |