|
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.
Order Duplicate? |
stunczy
|
Post subject: Order Duplicate? |
Post rating: 0
|
Posted: Wed 15 Oct, 2014, 17:06
|
|
User rating: 0
Joined: Tue 28 May, 2013, 16:00 Posts: 37 Location: Hungary, Győr
|
Hi, Why is that, when I backtest my strategy, then there are 3 negative positions on my platform, and only 1 positive. And when I check the opening HTML, then there are 2 negative and one positive? It seems like my platform duplicates a position. Sorry for low english. Thank you!
Attachments: |
what2.JPG [112.52 KiB]
Downloaded 206 times
|
what.jpg [113.29 KiB]
Downloaded 285 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: Order Duplicate? |
Post rating: 0
|
Posted: Fri 17 Oct, 2014, 14:57
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
We were unable to replicate or detect the problem from the screenshots. Could you please provide sample strategy that would render this result?
|
|
|
|
|
stunczy
|
Post subject: Re: Order Duplicate? |
Post rating: 0
|
Posted: Fri 17 Oct, 2014, 21:18
|
|
User rating: 0
Joined: Tue 28 May, 2013, 16:00 Posts: 37 Location: Hungary, Győr
|
It's the strategy last 3 month backtest
Attachments: |
joo4.vfs [76.13 KiB]
Downloaded 67 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: Order Duplicate? |
Post rating: 0
|
Posted: Mon 20 Oct, 2014, 13:58
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
It's partial close of position, not duplicate. See Event Log:
|
|
|
|
|
stunczy
|
Post subject: Re: Order Duplicate? |
Post rating: 0
|
Posted: Mon 20 Oct, 2014, 14:30
|
|
User rating: 0
Joined: Tue 28 May, 2013, 16:00 Posts: 37 Location: Hungary, Győr
|
What should I do, to avoid the process shown before? Just to open one, only one position. I've set "pending amount=0" , to only have one movement. What else should have been set to avoid the opening of 2 positions?
Thank you!
|
|
|
|
|
API Support
|
Post subject: Re: Order Duplicate? |
Post rating: 0
|
Posted: Wed 22 Oct, 2014, 08:57
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Your strategy doesn't open two positions, but close one position in two steps. In this particular case it could be a historical tester bug (we are currently investigating this). But notice that position could be closed in few steps if there is not enough liquidity on the market or margin requirements doesn't met. See "Execution process" and "Margin requirements" sections here: https://www.dukascopy.com/wiki/#Close_Order
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|