开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: 10326 - OCA group revision is not allowed


 

Thanks for the reply Jürgen.
?
At this time, I'm not modifying orders. I am just submitting two single-legged option OCA bracket orders, one with a stop price, one with a limit price.
?
I am testing using a paper trading account.
I unchecked the "bypass No Overfill Protection precaution for destinations where implied natively" checkbox in API -> precautions, but I can't get the dialog to come up again (I don't know if the behavior would be the same a live account).
?
I tested with both the current stable version (10.30.1t) and latest (10.34.1b); the results are the same
?
When submitting Option OCA orders with OcaType = 2 (which the precaution dialog implies is what is needed), they get rejected with "OCA handling method mismatch".
When using OcaType = 3, they get rejected with "Invalid parameter for OCA group for exchange SMART".
?
OcaType = 3 works fine in 10.19 and before (that's what I've always used). However, I tried OcaType = 2 with 10.19 in a live account yesterday, and I also got the same error message "Invalid parameter for OCA group for exchange SMART".
?
Is anyone else using OCA orders with options? Is it working for you in 10.30+? What OcaType are you using??
?
Thanks
Jimmy

Join [email protected] to automatically receive all group messages.