Hi, I was wondering how can I check initialMarginRequirement for specific security programmatically before executing the order and calculating it's quantity? What Security Margin Model does live trading algo implement. How can I access IB's initial margin requirements? 

Thanky you in advance for help! 

Author