/// <summary> /// Set Shortable Provider for this <see cref="Security"/> /// </summary> /// <param name="shortableProvider">Provider to use</param> public void SetShortableProvider(IShortableProvider shortableProvider) { ShortableProvider = shortableProvider; }
/// <summary> /// Creates a new instance /// </summary> public AtreyuBrokerageModel(AccountType accountType = AccountType.Margin) : base(accountType) { _shortableProvider = new AtreyuShortableProvider(SecurityType.Equity, Market.USA); }