Dukascopy
 
 
Wiki JStore Search Login

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.

Closing Orders
 Post subject: Closing Orders Post rating: 0   New post Posted: Fri 12 Apr, 2013, 14:50 

User rating: 0
Joined: Mon 03 Dec, 2012, 09:55
Posts: 30
Hi

If closing a collection of orders is it faster to :

1) call merge order to merge and close them
2) call closeOrders with the collection

What is the recommendation for using each

Thanks

Paul


 
 Post subject: Re: Closing Orders Post rating: 0   New post Posted: Fri 12 Apr, 2013, 17:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It depends what you want to do, if your goal is to close all positions, then IEngine.closeOrders or calling in cycle IOrder.close will be faster. Read here more on merge preconditions and execution: https://www.dukascopy.com/wiki/#Merge_Positions


 

Jump to:  

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