|
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? |
[hanghangzhu]
|
Post subject: Why is there no IOrder.setTrailingStep? |
Post rating: 0
|
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.
|
|
|
|
 |
[quantisan]
|
Post subject: Re: Why is there no IOrder.setTrailingStep? |
Post rating: 0
|
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.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|