|
Attention! Read the forum rules carefully before posting a topic.
Submit JForex API bug reports in this forum only. Submit Converter issues in Converter Issues. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Bug on sample strategy from API |
MATH06
|
Post subject: Bug on sample strategy from API |
Post rating: 0
|
Posted: Tue 06 Jan, 2015, 01:22
|
|
User rating: 2
Joined: Wed 18 May, 2011, 17:36 Posts: 49 Location: FranceFrance
|
Hello, Could you please check the strategy showed in the API called SMATREND? When running without modifications, it make 2 buy orders(not at the same time but after closing a buy order, we get an other buy order despite the fact it should be a sell order) , then 2 sell orders, then 2 buy orders... etc... So it didn't work as expected. Learning your API and code, I d like to understand where is the bug and how to correct this.
Thanks a lot for your help.
Cheers
Math
(I hope I post in the right place) (Edit le 07/01/2015 : 2 same orders consecutively, not at the same time)
Attachments: |
SmaTrendStrategy.java [4.61 KiB]
Downloaded 142 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.
|
|
|
|
|
 |
MATH06
|
Post subject: Re: Bug on sample strategy from API |
Post rating: 0
|
Posted: Fri 09 Jan, 2015, 14:06
|
|
User rating: 2
Joined: Wed 18 May, 2011, 17:36 Posts: 49 Location: FranceFrance
|
Hello Support, Did you read my previous post? Could you please help: I m testing your strategies from the Dukascopy's JSTORE and I have in mind that all of them should be free of bug because if I try to code mine, I will copy the structure of the strategies developped by Dukscopy's devellopers before to developpe mine. So I have to test the structure i.e.: STOP LOSS, TRAILING STOP, BREAK EVEN, trade on market hours... and the logical (close previous order when new signal arrive ...etc ). Thanks to answer. Cheers, Math
|
|
|
|
 |
API Support
|
Post subject: Re: Bug on sample strategy from API |
Post rating: 0
|
Posted: Fri 09 Jan, 2015, 16:22
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
MATH06
|
Post subject: Re: Bug on sample strategy from API |
Post rating: 0
|
Posted: Mon 12 Jan, 2015, 20:53
|
|
User rating: 2
Joined: Wed 18 May, 2011, 17:36 Posts: 49 Location: FranceFrance
|
Thanks a lot. It seems to be clean and working fine. 
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|