Yes sir, that’s a very valid question.
The tricky part is that Options trading works a little differently compared to Futures and Stocks when using the JSON Bridge.
Because Call and Put options are different instruments, we cannot always achieve this behavior by simply enabling a standard “Exit on Opposite” setting like we do in Futures.
To implement this properly, a custom JSON syntax is usually required.
That syntax needs to handle:
-Squaring off the existing option position first
-Identifying the correct opposite-side option contract
-Executing the new order after the existing position is closed
Because of this additional logic, the syntax generally needs to be configured manually based on your exact requirement.
So if you want a setup like:
-Buy Signal → Exit existing Put → Buy Call
-Sell Signal → Exit existing Call → Buy Put
then we recommend contacting the support team.
They can guide you with the correct syntax configuration and, if required, forward the requirement to the technical team for assistance.
Since the implementation depends on your trading setup and option selection logic, the support team will be able to provide the most accurate solution for your specific use case.