Protect orders/positions against manual modifications
Protect orders/positions against manual modifications
20 Feb 2024, 19:12
Hello,
Can this protection be coded as an alternative to check and revert any modifications that took place?
Thanks.
Replies
ncel01
21 Feb 2024, 08:13
RE: Protect orders/positions against manual modifications
firemyst said:
Yes it can. You'll have to implement checks. There's no way currently to prevent a user from manually modify an order (SL/TP), but you can always keep track of the last value your bot moved it too and then revert back to those values if they were updated.
Other modifications like increasing/decreasing the position size and such will be a bit more tricky because you'll first have to start by asking yourself… if someone manually decreased your position size, would you really want to increase it back to where it was?
That's exactly about check and revert as I mentioned above.
I think the most effective way was to have an option on cTrader settings for the active account.
Allow manual trading for the account? Y/N
In addition, this would also save all the effort to code an (not so effective) alternative.
@ncel01
firemyst
21 Feb 2024, 08:30
RE: RE: Protect orders/positions against manual modifications
ncel01 said:
firemyst said:
Yes it can. You'll have to implement checks. There's no way currently to prevent a user from manually modify an order (SL/TP), but you can always keep track of the last value your bot moved it too and then revert back to those values if they were updated.
Other modifications like increasing/decreasing the position size and such will be a bit more tricky because you'll first have to start by asking yourself… if someone manually decreased your position size, would you really want to increase it back to where it was?
That's exactly about check and revert as I mentioned above.
I think the most effective way was to have an option on cTrader settings for the active account.
Allow manual trading for the account? Y/N
In addition, this would also save all the effort to code an (not so effective) alternative.
The first question to possibly ask is if you're trading via automation, who would be adjusting the trades manually? If it's not you, and you're running the bots, then maybe the easiest approach would just be to ask whoever else has access to actually not trade anything.
@firemyst
firemyst
21 Feb 2024, 11:45
RE: Protect orders/positions against manual modifications
ncel01 said:
Unintentional manual modifications.
Semantics. Unintentional by you or someone else. Either way, with how the charts are structured and the location of controls, it takes a lot to do something ‘unintentional’ while looking at the charts with a position you're in – someone has to physically move, point, and click a mouse button, especially if you've removed all the hot key shortcuts. That's a lot for being unintentional while trading on a live account.
And besides moving the SL/TP, I don't know what else you could easily reverse/reset if something ‘unintentional’ is done.
@firemyst
ncel01
21 Feb 2024, 14:20
RE: RE: Protect orders/positions against manual modifications
firemyst said:
ncel01 said:
Unintentional manual modifications.
Semantics. Unintentional by you or someone else. Either way, with how the charts are structured and the location of controls, it takes a lot to do something ‘unintentional’ while looking at the charts with a position you're in – someone has to physically move, point, and click a mouse button, especially if you've removed all the hot key shortcuts. That's a lot for being unintentional while trading on a live account.
And besides moving the SL/TP, I don't know what else you could easily reverse/reset if something ‘unintentional’ is done.
Sure, semantics.
Thanks for trying.
@ncel01
ncel01
15 Mar 2024, 07:55
Dear cTrader Team,
Please let me know if this is possible.
I found such protection important specially when opening charts in the mobile app, since positions protection can be easily changed/removed by mistake.
It would be also interesting if traders could define one the following, as part of each account settings:
Trading method:
- Manual / automated (default)
- Manual only
- Automated only
If no feasible/alternative solution for this is available I'll suggest for it.
Thank you!
@ncel01
PanagiotisCharalampous
15 Mar 2024, 08:01
RE: Protect orders/positions against manual modifications
ncel01 said:
Dear cTrader Team,
Please let me know if this is possible.
I found such protection important specially when opening charts in the mobile app, since positions protection can be easily changed/removed by mistake.
It would be also interesting if traders could define one the following, as part of each account settings:
Trading method:
- Manual / automated (default)
- Manual only
- Automated only
If no feasible/alternative solution for this is available I'll suggest for it.
Thank you!
Hi ncel01,
I am not sure what kind of feedback you expect. As firemyst mentioned above, you would need to code such a feature.
Best regards,
Panagiotis
@PanagiotisCharalampous
ncel01
15 Mar 2024, 09:16
RE: RE: Protect orders/positions against manual modifications
PanagiotisCharalampous said:
ncel01 said:
Dear cTrader Team,
Please let me know if this is possible.
I found such protection important specially when opening charts in the mobile app, since positions protection can be easily changed/removed by mistake.
It would be also interesting if traders could define one the following, as part of each account settings:
Trading method:
- Manual / automated (default)
- Manual only
- Automated only
If no feasible/alternative solution for this is available I'll suggest for it.
Thank you!
Hi ncel01,
I am not sure what kind of feedback you expect. As firemyst mentioned above, you would need to code such a feature.
Best regards,
Panagiotis
Hi Panagiotis,
Still, I'd like to have your confirmation on this.
It's clear now. Thanks!
@ncel01
firemyst
21 Feb 2024, 01:16
Yes it can. You'll have to implement checks. There's no way currently to prevent a user from manually modify an order (SL/TP), but you can always keep track of the last value your bot moved it too and then revert back to those values if they were updated.
Other modifications like increasing/decreasing the position size and such will be a bit more tricky because you'll first have to start by asking yourself… if someone manually decreased your position size, would you really want to increase it back to where it was?
@firemyst