My trading strategy is "buy above" type and many times, around 10 signals are generated as "buy above" and are sent to pi terminal. But as I want to trade only in first 4 triggered calls, I have to send a message to pi again to cancel other 6 (non-triggered) signals.
Please let me know the function I can make use of.
Note:
I can send Order to Pi. Now I want to get Numbers of Lots Open in Net Position.
Hope your answer is for Pi Bridge only as I'm NOT using kite API. I'm using Pi bridge API between Amibroker and Pi terminal.
Please clarify