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.

Stop orders
 Post subject: Stop orders Post rating: 0   New post Posted: Tue 08 Sep, 2015, 11:38 
User avatar

User rating: 2
Joined: Wed 29 Jan, 2014, 10:18
Posts: 30
Location: Austria,
Hi

What happens with buy or sell stop orders that never get FILLED ?

engine.submitOrder("OrderLabel", Instrument.EURUSD, OrderCommand.BUYSTOP, 0.01, price));


Will they expire and will be automatically deleted after certain time?


Thanks


 
 Post subject: Re: Stop orders Post rating: 0   New post Posted: Tue 08 Sep, 2015, 12:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please see API documentation
To set expiration time for an order use parameter takeProfitPrice of
IEngine.submitOrder


 

Jump to:  

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