Dukascopy
 
 
Wiki JStore Search Login

How to cancel pending orders automatically
 Post subject: How to cancel pending orders automatically Post rating: 0   New post Posted: Wed 14 Oct, 2015, 09:21 
User avatar

User rating: 0
Joined: Tue 20 May, 2014, 13:09
Posts: 15
Location: Malaysia, Kuala Lumpur
dear,

Can I know is it possible to have the pending entry orders closed automatically upon the first order is filled? For eg. Initially, there are 10 entry orders pending to be filled and then, when 1 of the entry is filled, How can I make the system to close the rest of the 9 entry orders automatically?

Best regards
Chia


 
 Post subject: Re: How to cancel pending orders automatically Post rating: 0   New post Posted: Tue 10 Nov, 2015, 09:47 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
If you want to do it on the server side, you need to group them as OCO (One Cancels Others) orders. However, only 2 orders of the same instrument can be grouped.
To do this:
select 2 orders in the orders table, right click to group them OCO.

If you wish to group more oders or orders of different instruments, you need to program the strategy to take care of them.


 

Jump to:  

  © 1998-2024 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