开云体育

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

Re: What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)


 

In client API 10.19 the method's signature suggests an object of type OrderId for the first operand, which appears to be equivalent to a single int, i.e. a primitive integer type. Since square brackets indicate a list of objects in Python, it goes against the signature, and although typing annotations in Python are purely suggestive, in fact the source of the method itself indicates this shouldn't really work.
?
I frankly didn't pay much attention to this artefact assuming it could be some type of symbolic notation but if it's a direct quote then it definitely doesn't look right to me unless newer API versions introduce changes to the method allowing to pass it a list of order ids.
?
--
Best,
DS

Join twsapi@groups.io to automatically receive all group messages.