EditDcaStrategy
DCA strategy trade edit request body schema
takeProfits object[]
Possible values: >= 1, <= 10
Trigger strict price.
* LONG trade range: (Entry Price; +Inf)
* SHORT trade range: (0; Entry Price)
150.21Take profit portfolio. In hundredth percentage. Range: (0; 1] -> from 0% to 100%.
1Take profits price averaging condition.
Possible values: [entry_order, average_price]
Stop Loss trigger strict price.
* LONG trade range: (0; Last Price)
* SHORT trade range: (Last Price; +Inf)
Possible values: > 0
123.21Stop loss price averaging condition.
Possible values: [entry_order, average_price]
Move to break-even trigger strict price.
* LONG trade range: (Entry Price; +Inf)
* SHORT trade range: (0; Entry Price)
Possible values: > 0
125.67Move to break-even strict price.
* LONG trade range: (0; stopLossMovePrice)
* SHORT trade range: (stopLossMovePrice; +Inf)
Possible values: > 0
124.5Activation price deviation. In hundredth percentage. Range: (0; 1] -> from 0% to 100%.
Possible values: > 0
0.02Execute price deviation. In hundredth percentage. Range: (0; 1] -> from 0% to 100%.
Possible values: > 0
0.01Reduce only for exits. No effect for spot strategies.
Entry order + DCA orders total count.
Possible values: >= 1 and <= 30
3DCA order price deviation.
Possible values: >= 0.001 and <= 0.2
0.002DCA order volume multiplier.
Possible values: >= 0.1 and <= 10
1.25DCA order price deviation multiplier.
Possible values: >= 1 and <= 10
1.15{
"takeProfits": [
{
"portfolio": 0.5,
"price": 133.33
},
{
"portfolio": 0.5,
"price": 144.44
}
],
"takeProfitBaseOn": "entry_order",
"stopLossPrice": 123.21,
"stopLossBaseOn": "entry_order",
"stopLossMovePrice": 125.67,
"stopLossMoveExecutePrice": 124.5,
"trailingStopActivation": 0.02,
"trailingStopExecute": 0.01,
"reduceOnly": true,
"extraOrderCount": 3,
"extraOrderDeviation": 0.002,
"extraOrderVolumeMultiplier": 1.25,
"extraOrderDeviationMultiplier": 1.15
}