Hello, I'm trying to get the current portfolio holdings of a security that I've purchased but It doesn't seem to be working. Is there a better way to get the current portfolio holdings quantity? public void OnData(TradeBars data, ISecurityProvider _securityProvider) var holdingQuantity = _securityProvider.GetHoldingsQuantity(symbol); Log("q" + holdingQuantity); Thanks!

Author