To comply with SEC regulations, US stock quotes, including bid, ask, and last size quotes, are shown in shares (not in lots). API users have the option to configure the TWS API to work in compatibility mode for older programs, but we recommend migrating to "quotes in shares" at your earliest convenience.
To use compatibility mode, open Global Configuration and select API. On the Precautions page, check "Bypass US Stocks market data in shares warning for API orders."
Effective in TWS version 985 and later.
Find out more at https://www.sec.gov/rules/final/2020/34-90610.pdf.