create_order
Generate limit, take profit, or stop loss orders on Armor Crypto MCP. Specify wallet, tokens, amount, duration, and watch fields to automate crypto trading strategies.
Instructions
Create a order. Can be a limit, take profit or stop loss order.
Expects a CreateOrderRequestContainer, returns a CreateOrderResponseContainer.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
create_order_requests | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"CreateOrderRequest": {
"properties": {
"amount": {
"description": "amount of input token to invest",
"title": "Amount",
"type": "number"
},
"delta_percentage": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "delta percentage to execute the order. You must always specify a target value or delta percentage.",
"title": "Delta Percentage"
},
"direction": {
"description": "whether or not the order is above or below current market value",
"enum": [
"ABOVE",
"BELOW"
],
"title": "Direction",
"type": "string"
},
"input_token": {
"description": "public address of the input token",
"title": "Input Token",
"type": "string"
},
"output_token": {
"description": "public address of the output token",
"title": "Output Token",
"type": "string"
},
"strategy_duration": {
"description": "duration of the order",
"title": "Strategy Duration",
"type": "integer"
},
"strategy_duration_unit": {
"description": "unit of the duration of the order",
"enum": [
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"YEAR"
],
"title": "Strategy Duration Unit",
"type": "string"
},
"target_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "target value to execute the order. You must always specify a target value or delta percentage.",
"title": "Target Value"
},
"token_address_watcher": {
"description": "public address of the token to watch. should be output token for limit orders and input token for stop loss and take profit orders",
"title": "Token Address Watcher",
"type": "string"
},
"wallet": {
"description": "name of the wallet",
"title": "Wallet",
"type": "string"
},
"watch_field": {
"description": "field to watch to execute the order. Can be price, marketCap or liquidity",
"enum": [
"liquidity",
"marketCap",
"price"
],
"title": "Watch Field",
"type": "string"
}
},
"required": [
"wallet",
"input_token",
"output_token",
"amount",
"strategy_duration",
"strategy_duration_unit",
"watch_field",
"direction",
"token_address_watcher",
"target_value",
"delta_percentage"
],
"title": "CreateOrderRequest",
"type": "object"
},
"CreateOrderRequestContainer": {
"properties": {
"create_order_requests": {
"items": {
"$ref": "#/$defs/CreateOrderRequest"
},
"title": "Create Order Requests",
"type": "array"
}
},
"required": [
"create_order_requests"
],
"title": "CreateOrderRequestContainer",
"type": "object"
}
},
"properties": {
"create_order_requests": {
"$ref": "#/$defs/CreateOrderRequestContainer"
}
},
"required": [
"create_order_requests"
],
"title": "create_orderArguments",
"type": "object"
}