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.

Grouping orders to OCO
 Post subject: Grouping orders to OCO Post rating: 0   New post Posted: Thu 11 Mar, 2010, 10:08 

User rating: 0
Joined: Tue 18 Aug, 2009, 15:09
Posts: 10
Hi,
I would like to know how to group orders so one cancels the other.
For instance first I use engine.submitorder BUYSTOP
then same thing with SELLStop order.
What's the next step should I merge orders ?

thanks,
Ivan


 
 Post subject: Re: Grouping orders to OCO Post rating: 0   New post Posted: Tue 16 Mar, 2010, 14:44 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Cancel the second order is possible only manually.
Unfortunately, this is not supported in the API.


 

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