|
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.
| All my Order states are always cancelled.. why? |
|
vamana2734
|
| Post subject: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Sun 30 Jun, 2013, 07:02
|
|
User rating: 0
Joined: Thu 09 May, 2013, 14:01 Posts: 9 Location: SingaporeSingapore
|
|
Hi,
I ran the historical tester on my program and I noticed that all the orders placed by my program seem to have order state cancelled. I have checked the code with logging and the logic is simple and straight forward. Can you look at the possible problem?
I am attaching the java file.
Thanks, Vamana
| Attachments: |
Strategy_4.java [7.36 KiB]
Downloaded 380 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.
|
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Mon 01 Jul, 2013, 07:34
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
Please provide a printscreen of the Historical Tester settings that you use.
|
|
|
|
|
 |
|
vamana2734
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Mon 01 Jul, 2013, 14:37
|
|
User rating: 0
Joined: Thu 09 May, 2013, 14:01 Posts: 9 Location: SingaporeSingapore
|
Hi Support, I have attached the screenshot with this reply. Vamana. 
| Attachments: |
Screenshot.png [176.07 KiB]
Downloaded 776 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.
|
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Mon 01 Jul, 2013, 15:10
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
|
 |
|
vamana2734
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Tue 02 Jul, 2013, 14:19
|
|
User rating: 0
Joined: Thu 09 May, 2013, 14:01 Posts: 9 Location: SingaporeSingapore
|
|
Hi
I am running the historical tester and 'all' my orders in the historical tester run are cancelled not only those in the off market hours.. Only the orders which were issued during off market hours (in history) should be cancelled. The other orders (in Historical tester weekdays) should still be executed right? Also I downloaded a strategy contest strategy and it seems to work fine.
Thanks, Vamana.
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Tue 02 Jul, 2013, 14:25
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
Please save all messages to a text file and post it here. Also please provide a screenshot of the Historical Tester Account settings.
|
|
|
|
|
 |
|
vamana2734
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Tue 02 Jul, 2013, 14:52
|
|
User rating: 0
Joined: Thu 09 May, 2013, 14:01 Posts: 9 Location: SingaporeSingapore
|
Hi I have attached the files you have asked. Thanks, Vamana 
| Attachments: |
screenshot_account_settings.PNG [99.04 KiB]
Downloaded 758 times
|
Strategy_4_2pips_tp_KD_Cross_02072013_134723.csv [17.14 KiB]
Downloaded 366 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.
|
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: All my Order states are always cancelled.. why? |
Post rating: 0
|
Posted: Wed 03 Jul, 2013, 08:31
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|