The holdings() docs describe `quantity` as "Realised Quantity(T+2)" and `used_quantity` as "Quantity sold from the net holding quantity" — read together that suggests `quantity` stays at the settled figure and `used_quantity` absorbs an intraday sale. But I've also seen it said that `quantity` itself drops immediately on a sale.
Could someone confirm which is correct? A worked example would help: 100 settled shares, sell 40 intraday — right after the sale, what do holdings() (`quantity`, `used_quantity`, `t1_quantity`) and positions()["net"] (sign, quantity, product) show for that symbol?