Exemplo n.º 1
0
 public static ValueTask <IDisposableAlpacaDataSubscription <IBar> > SubscribeMinuteBarAsync(
     this IAlpacaDataStreamingClient client,
     params String[] symbols) =>
 DisposableAlpacaDataSubscription <IBar> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetMinuteBarSubscription(symbols),
     client);
Exemplo n.º 2
0
 public static ValueTask <IDisposableAlpacaDataSubscription <IBar> > SubscribeDailyBarAsync(
     this IAlpacaDataStreamingClient client,
     IEnumerable <String> symbols) =>
 DisposableAlpacaDataSubscription <IBar> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetDailyBarSubscription(symbols),
     client);
Exemplo n.º 3
0
 public static ValueTask <IDisposableAlpacaDataSubscription <IQuote> > SubscribeQuoteAsync(
     this IAlpacaDataStreamingClient client,
     String symbol) =>
 DisposableAlpacaDataSubscription <IQuote> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetQuoteSubscription(symbol),
     client);
Exemplo n.º 4
0
 public static ValueTask <IDisposableAlpacaDataSubscription <IBar> > SubscribeUpdatedBarAsync(
     this IAlpacaCryptoStreamingClient client,
     String symbol) =>
 DisposableAlpacaDataSubscription <IBar> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetUpdatedBarSubscription(symbol),
     client);
Exemplo n.º 5
0
 public static ValueTask <IDisposableAlpacaDataSubscription <ITrade> > SubscribeTradeAsync(
     this IAlpacaCryptoStreamingClient client,
     IEnumerable <String> symbols) =>
 DisposableAlpacaDataSubscription <ITrade> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetTradeSubscription(symbols),
     client);
Exemplo n.º 6
0
 public static ValueTask <IDisposableAlpacaDataSubscription <INewsArticle> > SubscribeNewsAsync(
     this IAlpacaNewsStreamingClient client,
     IEnumerable <String> symbols) =>
 DisposableAlpacaDataSubscription <INewsArticle> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetNewsSubscription(symbols),
     client);
Exemplo n.º 7
0
 public static ValueTask <IDisposableAlpacaDataSubscription <IOrderBook> > SubscribeOrderBookAsync(
     this IAlpacaCryptoStreamingClient client,
     params String[] symbols) =>
 DisposableAlpacaDataSubscription <IOrderBook> .CreateAsync(
     client.EnsureNotNull(nameof(client)).GetOrderBookSubscription(symbols),
     client);