placeOrder
Execute cryptocurrency trades on Aster Finance by submitting buy or sell orders with various order types including limit, market, stop, and take profit orders.
Instructions
Send in a new order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positionSide | No | ||
| price | No | ||
| quantity | No | ||
| side | Yes | ||
| stopPrice | No | ||
| symbol | Yes | ||
| timeInForce | No | ||
| type | Yes |
Input Schema (JSON Schema)
{
"properties": {
"positionSide": {
"enum": [
"BOTH",
"LONG",
"SHORT"
],
"type": "string"
},
"price": {
"type": "number"
},
"quantity": {
"type": "number"
},
"side": {
"enum": [
"BUY",
"SELL"
],
"type": "string"
},
"stopPrice": {
"type": "number"
},
"symbol": {
"type": "string"
},
"timeInForce": {
"enum": [
"GTC",
"IOC",
"FOK",
"GTX"
],
"type": "string"
},
"type": {
"enum": [
"LIMIT",
"MARKET",
"STOP",
"STOP_MARKET",
"TAKE_PROFIT",
"TAKE_PROFIT_MARKET",
"TRAILING_STOP_MARKET"
],
"type": "string"
}
},
"required": [
"symbol",
"side",
"type"
],
"type": "object"
}