예제 #1
0
파일: Security.cs 프로젝트: whoislewys/Lean
 /// <summary>
 /// Set Shortable Provider for this <see cref="Security"/>
 /// </summary>
 /// <param name="shortableProvider">Provider to use</param>
 public void SetShortableProvider(IShortableProvider shortableProvider)
 {
     ShortableProvider = shortableProvider;
 }
예제 #2
0
 /// <summary>
 /// Creates a new instance
 /// </summary>
 public AtreyuBrokerageModel(AccountType accountType = AccountType.Margin) : base(accountType)
 {
     _shortableProvider = new AtreyuShortableProvider(SecurityType.Equity, Market.USA);
 }