modify comment from cBot

Created at 11 Apr 2014, 20:38
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!
AlexanderRC's avatar

AlexanderRC

Joined 04.02.2014

modify comment from cBot
11 Apr 2014, 20:38


Is it possible to modify comment or label from cBot somehow?

I need to store some metadata with the pending order or position, what are my options?


@AlexanderRC
Replies

Spotware
14 Apr 2014, 09:39

You can specify label and comment in ExecuteMarketOrder, PlaceLimitOrder and PlaceStopOrder methods. If you would like to modify label and comment after that please post your idea to vote.spotware.com.


@Spotware

stoko
08 Jul 2014, 12:19

Is the modify of a comment or a label of position implemented in cAlgo and what method should we use if so?


@stoko

Spotware
08 Jul 2014, 12:22

RE:

stoko said:

Is the modify of a comment or a label of position implemented in cAlgo and what method should we use if so?

There is no such method.


@Spotware

stoko
08 Jul 2014, 12:24

thanks for the quick reply!

 

do you plan to implement an option to modify either comment or label of a position?


@stoko

Spotware
08 Jul 2014, 12:37

No, we do not plan. You can post your idea to vote.spotware.com. If it collects enough votes we will consider it.


@Spotware

firemyst
02 Apr 2019, 09:20

RE:

Spotware said:

You can specify label and comment in ExecuteMarketOrder, PlaceLimitOrder and PlaceStopOrder methods. If you would like to modify label and comment after that please post your idea to vote.spotware.com.

Hi there:

Are "comments" displayed anywhere? They don't appear in our "History" or "Events" tabs when backtesting.

Can you confirm if they are only displayed in the "Log" tab when we do the following:

Position p = Positions.Find(myLabel);
Print(p.Comment);

??? Or somewhere else?

Thank you


@firemyst

PanagiotisCharalampous
02 Apr 2019, 12:06

Hi FireMyst,

They are displayed in the Positions tab.

Best Regarrds,

Panagiotis


@PanagiotisCharalampous

firemyst
03 Apr 2019, 03:39

RE:

Panagiotis Charalampous said:

Hi FireMyst,

They are displayed in the Positions tab.

Best Regarrds,

Panagiotis

Thank you for your reply.

It would be a nice feature to have the "Comments column" on the "History" or "Events" tab too because it would be nice to see comments we had against positions from x-weeks or x-months ago.

Otherwise, the only way to view any past comments, a user has to scroll back through the entire log history (if they actually wrote comments to the "Log" tab), which appears to be the only way to do it, correct?

If so, it's kind of pointless from a usability perspective that we can only see comments we made while a position is open. :-)

Thank you.


@firemyst

PanagiotisCharalampous
03 Apr 2019, 10:54

Hi FireMyst,

Thanks for the suggestion. I would advise you to post it in Suggestions section so that we can find them all in one place.

Best Regards,

Panagiotis


@PanagiotisCharalampous

mpistorius
17 Oct 2020, 19:15

RE: RE:

firemyst said:

Spotware said:

You can specify label and comment in ExecuteMarketOrder, PlaceLimitOrder and PlaceStopOrder methods. If you would like to modify label and comment after that please post your idea to vote.spotware.com.

Hi there:

Are "comments" displayed anywhere? They don't appear in our "History" or "Events" tabs when backtesting.

Can you confirm if they are only displayed in the "Log" tab when we do the following:

Position p = Positions.Find(myLabel);
Print(p.Comment);

??? Or somewhere else?

Thank you

Also searched for this, but the info in this thread seems to suggest this feature is not available.  Actually, if you right-click on the headers in the History tab, you can select additional columns, including one to show comments.


@mpistorius

firemyst
18 Oct 2020, 09:02 ( Updated at: 21 Dec 2023, 09:22 )

RE: RE: RE:

mpistorius said:

firemyst said:

Spotware said:

You can specify label and comment in ExecuteMarketOrder, PlaceLimitOrder and PlaceStopOrder methods. If you would like to modify label and comment after that please post your idea to vote.spotware.com.

Hi there:

Are "comments" displayed anywhere? They don't appear in our "History" or "Events" tabs when backtesting.

Can you confirm if they are only displayed in the "Log" tab when we do the following:

Position p = Positions.Find(myLabel);
Print(p.Comment);

??? Or somewhere else?

Thank you

Also searched for this, but the info in this thread seems to suggest this feature is not available.  Actually, if you right-click on the headers in the History tab, you can select additional columns, including one to show comments.

You can find comments here (if you don't see the column, you need to right click and select it to show):

Or printed here in Logs as a result of the print statement:

If you don't have the "log" tab, you need to be under "automate".

 


@firemyst

... Deleted by UFO ...