Class LatestMarketDataRequest
Encapsulates data for latest stock data requests on Alpaca Data API v2.
Inheritance
System.Object
LatestMarketDataRequest
Inherited Members
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 LatestMarketDataRequest
Constructors
| Improve this Doc View SourceLatestMarketDataRequest(String)
Creates new instance of LatestMarketDataRequest object.
Declaration
public LatestMarketDataRequest(String symbol)
Parameters
Type | Name | Description |
---|---|---|
String | symbol | Asset name for data retrieval. |
Properties
| Improve this Doc View SourceCurrency
Gets or sets the optional parameter for the returned prices in ISO 4217 standard.
For example: USD, EUR, JPY, etc. In case of null
the default USD will be used.
Declaration
public String? Currency { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<String> |
Feed
Gets or sets the feed to pull market data from. The Sip and Otc are only available to those with a subscription. Default is Iex for free plans and Sip for paid.
Declaration
public MarketDataFeed? Feed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MarketDataFeed> |
Symbol
Gets asset name for data retrieval.
Declaration
public String Symbol { get; }
Property Value
Type | Description |
---|---|
String |