- Home
- Forum
- cBots API Help
- modify comment from cBot
modify comment from cBot
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?
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.
Is the modify of a comment or a label of position implemented in cAlgo and what method should we use if so?
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.
thanks for the quick reply!
do you plan to implement an option to modify either comment or label of a position?
No, we do not plan. You can post your idea to vote.spotware.com. If it collects enough votes we will consider it.
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
Hi FireMyst,
They are displayed in the Positions tab.
Best Regarrds,
Panagiotis
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.
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