开云体育

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

Re: The 'EtradeOnly' order attribute is not supported.


Nick
 

开云体育

If TWS allows a connection from your version of the API then the attributes themselves are supported. It's particular values of the attributes that are no longer accepted so setting to False is the right thing to do.


On 4/30/2021 3:55 PM, neil@... wrote:

This is untested, but since the two attributes are unsupported, I feel comfortable just setting them to False when I create the order object.
```
order_object = self.create_order(order)
order_object.eTradeOnly = False
order_object.firmQuoteOnly = False
```
The error messages went away.

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