I whipped this little gem up to help easily manage my Profit and Loss orders where when one or the other order is filled, the other is automatically canceled.

Still a little rough and could probably be improved or refactored to be more re-usable, but thought it might help as is.

Author