Skip to content

Commit

Permalink
Update AlpacaBrokerage.DataQueueHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero authored Jul 18, 2024
1 parent a650870 commit a2c93fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public partial class AlpacaBrokerage : IDataQueueHandler
/// <returns>The new enumerator for this subscription request</returns>
public IEnumerator<BaseData> Subscribe(SubscriptionDataConfig dataConfig, EventHandler newDataAvailableHandler)
{
if (!CanSubscribe(dataConfig.Symbol))
if (!CanSubscribe(dataConfig.Symbol) || dataConfig.Symbol.SecurityType == SecurityType.Option)
{
return null;
}
Expand Down

0 comments on commit a2c93fb

Please sign in to comment.