/// <summary> /// Set the leverage parameter for this security /// </summary> /// <param name="leverage">Leverage for this asset</param> public void SetLeverage(decimal leverage) { if (Symbol.ID.SecurityType == SecurityType.Future || Symbol.ID.SecurityType == SecurityType.Option) { return; } MarginModel.SetLeverage(this, leverage); }
/// <summary> /// Set the leverage parameter for this security /// </summary> /// <param name="leverage">Leverage for this asset</param> public void SetLeverage(decimal leverage) { MarginModel.SetLeverage(this, leverage); }