Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Remote Server
 Post subject: Remote Server Post rating: 0   New post Posted: Thu 28 Mar, 2013, 19:06 

User rating: 0
Joined: Wed 13 Jul, 2011, 17:59
Posts: 17
Location: United States,
Hi

I`ve Strategy running on the remote Server and I want to Receive Emails of my Previous trade

I tried the Email Notification but it does not help much

is there any code can help me ??


 
 Post subject: Re: Remote Server Post rating: 0   New post Posted: Fri 29 Mar, 2013, 12:53 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Take a look on this article:
https://www.dukascopy.com/fxcomm/fx-arti ... ad&id=1239


 
 Post subject: Re: Remote Server Post rating: 0   New post Posted: Sat 30 Mar, 2013, 02:36 

User rating: 0
Joined: Wed 13 Jul, 2011, 17:59
Posts: 17
Location: United States,
Thanks my friend

But in the remote server you can`t use the @RequiresFullACcess code

is there a way to Know my Past Trades ?


 
 Post subject: Re: Remote Server Post rating: 0   New post Posted: Tue 02 Apr, 2013, 23:32 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Hi,

You can check your orders (open, and closed ones) on the platform: Portfolio->Position Report.
Or you can run a strategy, that queries your order history. See attached example.


Attachments:
OrderHistoryTPSL.java [2.41 KiB]
Downloaded 306 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: Remote Server Post rating: 0   New post Posted: Wed 03 Apr, 2013, 01:32 
User avatar

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

Dukascopy e-mail notification works fine, but the lack of all order information is evident...
If all you want is being notified about order fill/close it's fine...

Bellow i present one screen configuration and one email received.

Image
Image

Unfortunatly, as you say, you can't use @RequiresFullAccess nor add the needed external library to provide your strategy email capability. One remote chance is maybe a simple inner class that implements e-mail protocol, but it's not easy and the remote server must allow the comunication.
Other way is getting the orders history and process the orders information with a strategy as the one on the tcsabina example but with all the information you need.

Trade wel

JL


Attachments:
2013-04-03_0112.png [27.45 KiB]
Downloaded 501 times
2013-04-03_0046.png [51.61 KiB]
Downloaded 497 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: Remote Server Post rating: 0   New post Posted: Wed 03 Apr, 2013, 14:31 

User rating: 0
Joined: Wed 13 Jul, 2011, 17:59
Posts: 17
Location: United States,
tcsabina wrote:
Hi,

You can check your orders (open, and closed ones) on the platform: Portfolio->Position Report.
Or you can run a strategy, that queries your order history. See attached example.


Thanks again

That`s a nice example but not for my Case

I need Emails about my past trades running on Remote Server :D


 
 Post subject: Re: Remote Server Post rating: 0   New post Posted: Wed 03 Apr, 2013, 14:49 

User rating: 0
Joined: Wed 13 Jul, 2011, 17:59
Posts: 17
Location: United States,
jlongo wrote:
Hi new_student:

Dukascopy e-mail notification works fine, but the lack of all order information is evident...
If all you want is being notified about order fill/close it's fine...

Bellow i present one screen configuration and one email received.

Image
Image

Unfortunatly, as you say, you can't use @RequiresFullAccess nor add the needed external library to provide your strategy email capability. One remote chance is maybe a simple inner class that implements e-mail protocol, but it's not easy and the remote server must allow the comunication.
Other way is getting the orders history and process the orders information with a strategy as the one on the tcsabina example but with all the information you need.

Trade wel

JL


It`s true that Dukascopy Remote Server gives a limited communication but it would be nice if we can send mail,Files and other important Functions as in the Wiki Examples
Right now I`m processing with the example as you provided, Thanks, and if at least we can send a position summary report to know our Winning or Lost trades it would be nice
but with the information I need, there should be some modification
I hope Dukacopy take a notice of this


 
 Post subject: Re: Remote Server Post rating: 0   New post Posted: Wed 03 Apr, 2013, 16:45 
User avatar

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

If you have a computer always on, you can create a strategy that runs on your computer that only monitors your account and reacts to order changes (place, filled, closed, etc) and send e-mail with all the information you want. The strategy that places the orders is running on remote server. This is other possibility.

Trade well

JL


 
 Post subject: Re: Remote Server Post rating: 0   New post Posted: Fri 05 Apr, 2013, 17:08 

User rating: 0
Joined: Wed 13 Jul, 2011, 17:59
Posts: 17
Location: United States,
That`s also possible
But, some times you will have a special condition cant possibly implemented in a new expert


 

Jump to:  

cron
  © 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