I want each order entry, long-short to check for a position first, if flat trade, if not in a position wait until flat.
I've been looking through the support guide and can't seem to be able to find the correct code to compile this logic.
Thanks in advance for your reply.
Comment