If a market is very fast and OCO group is not supported natively by broker,
there is always the possibility, that both bracket orders can be filled. That
means: a open position without an exit order.
With the commands marketposition / i_marketposition / OpenpositionProfit it is possible,
to find out, if there is an open position.
My question: how I can check - at any time during an open position - that there is an
exit order (stop, Limit etc.), too?
Thanks and regards,
Fredi
Autotrading: recognition of orders
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Autotrading: recognition of orders
I'm afraid you can't. This probably will be possible with feature request #1497 (and especially with the #512 sub-request), but #1497 has been postponed indefinitely recently, so we don't know when this will be possible.My question: how I can check - at any time during an open position - that there is an exit order (stop, Limit etc.), too?
Re: Autotrading: recognition of orders
Thank you JoshM. I didn't notice this feature request.
The real problem is, that I don't see any workaround.
The real problem is, that I don't see any workaround.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Autotrading: recognition of orders
There is NO system in this World, no matter how comprehensive, can protect anyone from a FAST MARKET.
The only way to protect yourself is to NOT get into a situation where a fast market might do damage to you.
(This is not a trading advice, nor a programming advice.)
The only way to protect yourself is to NOT get into a situation where a fast market might do damage to you.
(This is not a trading advice, nor a programming advice.)