Hi J¨¹rgen, thank you for your explanation. Especially the relationship between IB's Decimal and Java's BigDecimal classes. I understand what you mean by the sentence "once in decimal you want to stay in decimal". I am not trading fractional shares and crypto. In my software are position and trade sizes, volumes, and so on, converted to an integer once they are received from IB's servers. Prices are treated as doubles. Hopefully I won't have too much trouble in converting integers to Decimals, when I do make the upgrade to this newer API version.