Dukascopy
 
 
Wiki JStore Search Login

Merge positions
 Post subject: Merge positions Post rating: 1   New post Posted: Thu 11 Mar, 2021, 18:51 
User avatar

User rating: 3
Joined: Wed 30 Apr, 2014, 19:11
Posts: 19
Location: Spain, Bilbao
Dear All,

In a strategy I'm developing in a certain moment I would like to check if there are multi-positions of the same pair opened and merge them, but I didn't see any function in VJForex that can help me to do so.

Do you have any idea about a suitable solution for this request?

Thanks in advance for your help and support.
Best regards.


 
 Post subject: Re: Merge positions Post rating: 0   New post Posted: Thu 18 Mar, 2021, 05:02 
User avatar

User rating: 2
Joined: Fri 27 Jul, 2012, 07:04
Posts: 82
Location: Spain, Paracuellos de Jarama
I think you can't merge positions using VJForex as the merge positions method IEngine.mergeOrders is not implemented in the platform.
Perhaps you find useful this article in Dukascopy wiki about merging positions using JForex API:

https://www.dukascopy.com/wiki/en/development/strategy-api/orders-and-positions/merge-positions

Cheers
Francisco


 

Jump to:  

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