modify comment from cBot

AlexanderRC's avatar

AlexanderRC since: 04 Feb 2014;

  11 Apr 2014, 20:38
modify comment from cBot

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?

Romanov Capital -- NDD STP broker \\\ https://en.romanovcapital.com \\\ Custom Robot and Indicator development \\\ email: calgo(at)romanovcapital.com
Spotware's avatar

Spotware since: 23 Sep 2013;

  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.

TRADERS FIRST™ Vote for your favorite features: https://ctrader.com/forum/suggestions

stoko since: 05 Jul 2013;

  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?

Spotware's avatar

Spotware since: 23 Sep 2013;

  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.

TRADERS FIRST™ Vote for your favorite features: https://ctrader.com/forum/suggestions

stoko since: 05 Jul 2013;

  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?

Spotware's avatar

Spotware since: 23 Sep 2013;

  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.

TRADERS FIRST™ Vote for your favorite features: https://ctrader.com/forum/suggestions

firemyst since: 26 Mar 2019;

  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

PanagiotisCharalampous's avatar

PanagiotisCharalampous since: 13 Jan 2017;

  02 Apr 2019, 12:06

Hi FireMyst,

They are displayed in the Positions tab.

Best Regarrds,

Panagiotis

Head of Community Management at cTrader

firemyst since: 26 Mar 2019;

  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.

PanagiotisCharalampous's avatar

PanagiotisCharalampous since: 13 Jan 2017;

  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

Head of Community Management at cTrader