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.

Why is there no IOrder.setTrailingStep?
 Post subject: Why is there no IOrder.setTrailingStep? Post rating: 0   New post Posted: Sat 08 Jan, 2011, 17:35 

User rating: 0
Joined: Sat 06 Nov, 2010, 02:22
Posts: 8
Location: Canada
Why is there no IOrder.setTrailingStep? Does that mean the trailing step can only be set when a order is opened. Later you cannot add or modified.


 
 Post subject: Re: Why is there no IOrder.setTrailingStep? Post rating: 0   New post Posted: Tue 11 Jan, 2011, 18:34 

User rating: 1
Joined: Fri 26 Mar, 2010, 19:19
Posts: 116
Location: Canada
you can use setStopLossPrice(double price, OfferSide side, double trailingStep) to reset your trailing step. Just feed in the same stop loss price in your method call.


 

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