Update settings by signal
Last updated 23/05/2023
If you need to update the module settings in an open position, send a signal containing 'update': true in the module signal message parameters.

If you need to update the module parameters and average the position, send two separate signals. One signal will update the module, and the other signal will average the position.
- It is mandatory to activate
"update": true
in TP module configuration.

- To update by price - add the "
price
" parameter to Take Profit settings:
{
"name": "Hook 123",
"secret": "234",
"side": "buy",
"symbol": "XRPUSDT",
"tp": {
"orders": [
{
"price": "0.326"
},
{
"price": "0.329"
},
{
"price": "0.331"
}
],
"update": true
}
}
- To update by percentage, insert the required percentage into "
ofs
" field and add the "price
" parameter with empty data, for example:
{
"name": "Hook 123",
"secret": "234",
"side": "buy",
"symbol": "XRPUSDT",
"tp": {
"orders": [
{
"ofs": "2",
"price": "",
"piece": "33.3"
},
{
"ofs": "3.0",
"price": "",
"piece": "33.3"
},
{
"ofs": "4",
"price": "",
"piece": "33.4"
}
],
"update": true
}
}
Do you have any questions? We can help you in our Telegram chat.
Last modified 12d ago