You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example: the algoStrategy property in com.ib.client.Order is a string internally but has setters for both a string and the com.ib.client.Types$AlgoStrategy enum, but that enum contains a subset of the valid algostrategy types and the remaining must be set with the string setter. The getter method .algoStrategy returns the enum, which will have a value of "None" if it is not a valid com.ib.client.Types$AlgoStrategy value. We need to use getAlgoStrategy to get the string version.
Should the getters with a possible getX value as well as a enum getter always return the string getX variant?
The text was updated successfully, but these errors were encountered:
Example: the
algoStrategy
property incom.ib.client.Order
is a string internally but has setters for both a string and thecom.ib.client.Types$AlgoStrategy
enum, but that enum contains a subset of the valid algostrategy types and the remaining must be set with the string setter. The getter method.algoStrategy
returns the enum, which will have a value of"None"
if it is not a validcom.ib.client.Types$AlgoStrategy
value. We need to usegetAlgoStrategy
to get the string version.Should the getters with a possible
getX
value as well as a enum getter always return the stringgetX
variant?The text was updated successfully, but these errors were encountered: