|
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.
How to check whether outcome of order is TP or SL |
Isak
|
Post subject: How to check whether outcome of order is TP or SL |
Post rating: 0
|
Posted: Thu 25 Aug, 2011, 10:43
|
|
User rating: 6
Joined: Thu 19 May, 2011, 11:14 Posts: 235 Location: South Africa,
|
Is there a way using IOrder API to directly check whether an order was closed by TP or by SL? Currently I am doing this by considering getClosePrice() and checking whether it is closer to getStopLossPrice() or to getTakeProfitPrice().
|
|
|
|
 |
API Support
|
Post subject: Re: How to check whether outcome of order is TP or SL |
Post rating: 0
|
Posted: Thu 25 Aug, 2011, 12:20
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
No, there is no way to directly see whether an order closed by take profit or stop loss price.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|