Modify Label API

Created at 14 Jul 2013, 01:58
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

maxim_7

Joined 14.07.2013

Modify Label API
14 Jul 2013, 01:58


Hello,

Would it be possible to have a Modify Label API added to cTrader/cAlgo.

 

Thank you.


@maxim_7
Replies

cAlgo_Development
16 Jul 2013, 15:40

We do not have a plan to implement an ability to chage labels of existing orders or positions. The reason is that labels migrate from one entity to another. if you have labeled pending order and then the order was execuded and position created it has the same label. What should happen if you modify label of the order after that?

Can you provide an explanation why do you need this functionality?


@cAlgo_Development

maxim_7
16 Jul 2013, 17:01

RE:

It is continent way to group positions.
With cAlgo I can run robot what spy/protect open positions.
cAlgo may run robot on one host but I can open and close positions on other host.
Using same label value for position/order I can signal to robot to join/group two positions or position and order in pair and behave correspondently.


M.

 

 


@maxim_7

maxim_7
16 Jul 2013, 17:16

RE:

>>What should happen if you modify label of the order after that?

Presence of API give ability to change label but not obligate. If robot/user can't deal with changed labels he will not modify it ;-)


@maxim_7

cAlgo_Development
31 Jul 2013, 16:02

The idea is clear. We plan to add one more property to position: Comment. Most probably it will allow to do what you want .


@cAlgo_Development

maxim_7
31 Jul 2013, 16:07

Thanx for response.

If so, (plan to add one more property to position) is it possible add one more property Color of position line. - For Robot Label (Comment) for User different color of grouped positions.

 

M.


@maxim_7

aimerdoux
27 Oct 2015, 17:46

RE:

maxim_7 said:

Thanx for response.

If so, (plan to add one more property to position) is it possible add one more property Color of position line. - For Robot Label (Comment) for User different color of grouped positions.

 

M.

hhi sir which type of spy|protect method u want to use?


@aimerdoux

maxim_7
28 Oct 2015, 16:47

RE: RE:

Do not worry, it is not relevant anymore

maxim_7 said:

Thanx for response.

If so, (plan to add one more property to position) is it possible add one more property Color of position line. - For Robot Label (Comment) for User different color of grouped positions.

 

M.

hhi sir which type of spy|protect method u want to use?

 


@maxim_7