Dukascopy
 
 
Wiki JStore Search Login

Edit strategy comment from code
 Post subject: Edit strategy comment from code Post rating: 0   New post Posted: Thu 26 Sep, 2013, 10:00 
User avatar

User rating: 7
Joined: Thu 05 Sep, 2013, 12:43
Posts: 56
Location: Russian Federation, Tomsk
Can I set and edit strategy comment from code?
I need that from strategy code I can set and edit own strategy comment.

Image


 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Thu 26 Sep, 2013, 10:20 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Hi:

As far i know... you can only set order comment at order submission. See javadoc https://www.dukascopy.com/client/javadoc ... ang.String, com.dukascopy.api.Instrument, com.dukascopy.api.IEngine.OrderCommand, double, double, double, double, double, long, java.lang.String)


Trade well

JL


 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Thu 26 Sep, 2013, 10:27 
User avatar

User rating: 7
Joined: Thu 05 Sep, 2013, 12:43
Posts: 56
Location: Russian Federation, Tomsk
I know how to set order comment by submitOrder method. But I need set strategy comment.
Sadly it is not possible. :(


 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Thu 26 Sep, 2013, 10:45 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Hi:

As an alternative, you can use order label...

Trade well
JL


 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Fri 27 Sep, 2013, 10:05 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Greetings.

Yes you can.


Image


Attachments:
Pic1.png [44.41 KiB]
Downloaded 491 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Fri 27 Sep, 2013, 11:55 
User avatar

User rating: 7
Joined: Thu 05 Sep, 2013, 12:43
Posts: 56
Location: Russian Federation, Tomsk
vadim_berezhnoj wrote:
Greetings.

Yes you can.


Image


No, its set order comment. But I need to set a strategy comment. Please see screen in first post.


 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Fri 27 Sep, 2013, 12:04 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Sorry my bad...

My misunderstanding, i'm thinking about orders...

Trade well

JL


 
 Post subject: Re: Edit strategy comment from code Post rating: 0   New post Posted: Tue 01 Oct, 2013, 11:34 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Yes you can.

Image

But there is no such function in Visual JForex.


Attachments:
Pic1.png [36.36 KiB]
Downloaded 402 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com