Skip to main content

Place Strategy Trade

Description

Create and start a new trading strategy on WunderTrading.

Use to ask about:

  • open a position
  • start a trade
  • go long / short
  • execute a trade now
Prompt example

Open a new long position for ETHUSDT pair. Use my Binance-Futues Papaer Account on WunderTrading. The amount per trade should be 100 USDT.

Prompt example

Open a new long position for ETHUSDT pair. Use my Binance-Futues Papaer Account on WunderTrading. The amount per trade should be 100 USDT. Set portfolio for take profit 100%, price deviation 10%. For stop loss price deviation 3%

Input Schema

The Input Schema Provided to LLM.

Required: exchangeCode, pairCode, profilesCodes, side, orderType, amountPerTrade, amountPerTradeType
{
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "Optional unique strategy identifier (32–64 chars, regex ^[~=-a-zA-Z0-9]+$)"
},
"exchangeCode": {
"type": "string",
"description": "Exchange code (e.g. BINANCE)"
},
"pairCode": {
"type": "string",
"description": "Trading pair (e.g. ETHUSDT)"
},
"profilesCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of API profile IDs (must contain at least 1 item)"
},
"side": {
"type": "string",
"enum": [
"long",
"short"
],
"description": "Trade direction"
},
"orderType": {
"type": "string",
"enum": [
"market",
"limit"
],
"description": "Order type"
},
"price": {
"type": "number",
"description": "Entry order price. REQUIRED for LIMIT orders. E.g. '100.55'"
},
"timeToLive": {
"type": "number",
"description": "Limit order lifetime in minutes (range: 5–20160). REQUIRED for LIMIT orders"
},
"amountPerTrade": {
"type": "number",
"description": "Initial trade amount (> 0)"
},
"amountPerTradeType": {
"type": "string",
"enum": [
"quote",
"base",
"$",
"percents",
"contracts"
],
"description": "Trade amount unit: contracts = futures contracts; percents = portfolio ratio (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60; $ = USD value; quote: trade amount provided in Exchange quote currency, e.g. if ADA/USDT, quote means USDT; base: trade amount provided in Exchange base currency, e.g. if ADA/USDT, base means ADA"
},
"amountPerTradeMultiplier": {
"type": "number",
"description": "Trade amount multiplier (range: 1–125)"
},
"leverage": {
"type": "number",
"description": "Leverage reference (range: 1–125). Does not applied to exchange market! Used only as leverage reference."
},
"extraOrderCount": {
"type": "integer",
"description": "Total number of DCA orders including entry (range: 1–30)"
},
"extraOrderDeviation": {
"type": "number",
"description": "DCA price deviation (range: 0.001–0.2)"
},
"extraOrderVolumeMultiplier": {
"type": "number",
"description": "DCA volume multiplier (range: 0.1–10)"
},
"extraOrderDeviationMultiplier": {
"type": "number",
"description": "DCA deviation multiplier (range: 1–10)"
},
"extraOrderCostAveraging": {
"type": "string",
"enum": [
"base",
"quote",
null
],
"description": "DCA cost averaging mode; base: trade amount provided in Exchange base currency, e.g. if ADA/USDT, base means ADA; quote: trade amount provided in Exchange quote currency, e.g. if ADA/USDT, quote means USDT; null = exchange default"
},
"applyDcaForFirstSafetyOrder": {
"type": "boolean",
"description": "DCA mode: true = order averaging; false = position averaging"
},
"takeProfits": {
"type": "array",
"description": "Take profit targets (1–10 items). Sum of 'portfolio' must equal 1",
"items": {
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "Exact trigger price, e.g. 100.56"
},
"priceDeviation": {
"type": "string",
"description": "Trigger price deviation (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60"
},
"portfolio": {
"type": "string",
"description": "Portfolio portion (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60"
}
},
"required": [
"portfolio"
]
}
},
"takeProfitBaseOn": {
"type": "string",
"enum": [
"entry_order",
"average_price"
],
"description": "Reference price for TP calculation"
},
"stopLoss": {
"type": "string",
"description": "Trigger price deviation (> 0). Range (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60"
},
"stopLossPrice": {
"type": "number",
"description": "Exact stop loss trigger price (> 0), e.g. 100.55"
},
"stopLossBaseOn": {
"type": "string",
"enum": [
"entry_order",
"average_price"
],
"description": "Reference price for SL"
},
"stopLossMove": {
"type": "string",
"description": "Break-even trigger deviation (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60"
},
"stopLossMoveExecute": {
"type": "string",
"description": "Break-even execution deviation (-1 to stopLossMove), equals (-100%; stopLossMove%). Accepts formats like -0.6, -60%, or -60. stopLossMove must be defined."
},
"trailingStopActivation": {
"type": "string",
"description": "Trailing activation deviation (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60"
},
"trailingStopExecute": {
"type": "string",
"description": "Trailing execution deviation (0–1], equals (0% - 100%]. Accepts formats like 0.6, 60%, or 60"
},
"reduceOnly": {
"type": "boolean",
"description": "Reduce-only mode (only closes positions)"
},
"keepPositionOpen": {
"type": "boolean",
"description": "Keep position open (spot only)"
},
"placeConditionalOrdersOnExchange": {
"type": "boolean",
"description": "Place exit orders on exchange (ignored if DCA enabled)"
}
},
"required": [
"exchangeCode",
"pairCode",
"profilesCodes",
"side",
"orderType",
"amountPerTrade",
"amountPerTradeType"
],
"additionalProperties": false
}


We are continuously improving the platform, and new endpoints and features will be added soon to make your automated trading more flexible and efficient.