How to know there is a deal already executing on a position
Hello. How do you know there is a deal already executing on a position so you do not request another deal on that position?
(I am running a partial close on a position and I do not want to run another)
Thanks.
check deals (from history) one by one and compare with position you want with symbol, open price and ...
then check if there is an OUT deal in history for that IN Deal. if yes then that is closed and you need to open a new one if no then there an open one.
just be sure you have a reasonable comparison for price. a point lower or higher has to be considered.
check deals (from history) one by one and compare with position you want with symbol, open price and ...
then check if there is an OUT deal in history for that IN Deal. if yes then that is closed and you need to open a new one if no then there an open one.
just be sure you have a reasonable comparison for price. a point lower or higher has to be considered.
Thanks! Much appreciated!
Hello. How do you know there is a deal already executing on a position so you do not request another deal on that position?
(I am running a partial close on a position and I do not want to run another)
Thanks.