|
Multiple copies of strategy on multiple instruments |
funkyman
|
Post subject: Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Fri 21 Aug, 2020, 18:25
|
|
User rating: 0
Joined: Tue 29 Nov, 2016, 20:16 Posts: 8 Location: Slovakia,
|
I want to use multiple copies of my strategy on multiple pairs.Strategy actually places a pending orders on subscribed instruments but not 1 trade per instrument only.It places 3 or 4 (sometimes more) pendings order per 1 instrument.I want 1 order per instrument.
Any advice?
Attachments: |
FiboTrader.vfs [70.99 KiB]
Downloaded 942 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.
|
|
|
|
|
|
funkyman
|
Post subject: Re: Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Tue 25 Aug, 2020, 17:30
|
|
User rating: 0
Joined: Tue 29 Nov, 2016, 20:16 Posts: 8 Location: Slovakia,
|
|
|
|
|
funkyman
|
Post subject: Re: (Solved) Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Wed 02 Sep, 2020, 13:13
|
|
User rating: 0
Joined: Tue 29 Nov, 2016, 20:16 Posts: 8 Location: Slovakia,
|
But another problem is that other copy of my strategy moves stoploss on different instrument.It would be cool to implement Position Id checking in all filled trades.
Any advice?
|
|
|
|
|
vadim_berezhnoj
|
Post subject: Re: (Solved) Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Thu 03 Sep, 2020, 15:36
|
|
Visual JForex expert at Dukascopy | |
User rating: ∞
Joined: Mon 22 Apr, 2013, 11:30 Posts: 604 Location: UkraineUkraine
|
|
|
|
|
funkyman
|
Post subject: Re: (Solved) Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Tue 08 Sep, 2020, 10:16
|
|
User rating: 0
Joined: Tue 29 Nov, 2016, 20:16 Posts: 8 Location: Slovakia,
|
Thanks a lot Vadim for your answer, I have another question for you.
I have only one FiboTrader.java and i've made a multiple copies of Fibotrader.jfx to trade multiple pairs as you can see in the attached picture.
Is this correct or each pair must have it's own FiboTrader.java file ?
Attachments: |
FiboTrader.vfs [76.51 KiB]
Downloaded 957 times
|
Screen Sharing Picture 8 Sep 2020 11.00.31 GMT+2.png [148.52 KiB]
Downloaded 1228 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.
|
|
|
|
|
|
vadim_berezhnoj
|
Post subject: Re: (Solved) Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Wed 09 Sep, 2020, 09:58
|
|
Visual JForex expert at Dukascopy | |
User rating: ∞
Joined: Mon 22 Apr, 2013, 11:30 Posts: 604 Location: UkraineUkraine
|
|
|
|
|
funkyman
|
Post subject: Re: (Solved) Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Wed 09 Sep, 2020, 14:30
|
|
User rating: 0
Joined: Tue 29 Nov, 2016, 20:16 Posts: 8 Location: Slovakia,
|
I've made some changes again.
Now every strategy has its own .java file and in every strategy I've replaced defaultInstrument variable with fixed instrument.
But problem is that one strategy influences other pair and orders are closed immediately after filled.
USDJPY strategy closed GBP/CAD order.
I think there must be some bug in position viewer omitting the comments of the open trades.
Attachments: |
Untitled.png [30.82 KiB]
Downloaded 1254 times
|
Screen Shot 2020-09-09 at 15.29.16.png [456.07 KiB]
Downloaded 1232 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.
|
|
|
|
|
|
vadim_berezhnoj
|
Post subject: Re: (Solved) Multiple copies of strategy on multiple instruments |
Post rating: 0
|
Posted: Tue 22 Sep, 2020, 15:47
|
|
Visual JForex expert at Dukascopy | |
User rating: ∞
Joined: Mon 22 Apr, 2013, 11:30 Posts: 604 Location: UkraineUkraine
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|