Show / Hide Table of Contents

Class AlpacaCryptoStreamingClientConfiguration

Configuration parameters object for IAlpacaCryptoStreamingClient instance.

Inheritance
System.Object
StreamingClientConfiguration
AlpacaCryptoStreamingClientConfiguration
Inherited Members
StreamingClientConfiguration.ApiEndpoint
StreamingClientConfiguration.SecurityId
StreamingClientConfiguration.WebSocketFactory
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public sealed class AlpacaCryptoStreamingClientConfiguration : StreamingClientConfiguration

Constructors

| Improve this Doc View Source

AlpacaCryptoStreamingClientConfiguration()

Creates new instance of AlpacaCryptoStreamingClientConfiguration class.

Declaration
public AlpacaCryptoStreamingClientConfiguration()

Properties

| Improve this Doc View Source

Exchanges

Gets crypto exchanges list for data subscription (empty list means 'all exchanges').

Declaration
public IReadOnlyCollection<CryptoExchange> Exchanges { get; }
Property Value
Type Description
IReadOnlyCollection<CryptoExchange>

Methods

| Improve this Doc View Source

WithExchanges(CryptoExchange[])

Creates new instance of AlpacaCryptoStreamingClientConfiguration object with the updated Exchanges list.

Declaration
public AlpacaCryptoStreamingClientConfiguration WithExchanges(params CryptoExchange[] exchanges)
Parameters
Type Name Description
CryptoExchange[] exchanges

Crypto exchanges to add into the list.

Returns
Type Description
AlpacaCryptoStreamingClientConfiguration

The new instance of the AlpacaCryptoStreamingClientConfiguration object.

| Improve this Doc View Source

WithExchanges(IEnumerable<CryptoExchange>)

Creates new instance of AlpacaCryptoStreamingClientConfiguration object with the updated Exchanges list.

Declaration
public AlpacaCryptoStreamingClientConfiguration WithExchanges(IEnumerable<CryptoExchange> exchanges)
Parameters
Type Name Description
IEnumerable<CryptoExchange> exchanges

Crypto exchanges to add into the list.

Returns
Type Description
AlpacaCryptoStreamingClientConfiguration

The new instance of the AlpacaCryptoStreamingClientConfiguration object.

Extension Methods

ConfigurationExtensions.GetClient(AlpacaCryptoStreamingClientConfiguration)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX