Interface IOptionContract
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IOptionContract
Properties
| Improve this Doc View SourceClosePrice
Get option contract close price.
Declaration
Decimal? ClosePrice { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
ClosePriceDate
Get option contract close price date.
Declaration
DateOnly? ClosePriceDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateOnly> |
ContractId
Gets unique option contract identifier used by Alpaca.
Declaration
Guid ContractId { get; }
Property Value
Type | Description |
---|---|
Guid |
ExpirationDate
Get option contract expiration date.
Declaration
DateOnly ExpirationDate { get; }
Property Value
Type | Description |
---|---|
DateOnly |
IsTradable
Returns true
if asset is tradable.
Declaration
Boolean IsTradable { get; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Gets option contract name.
Declaration
String Name { get; }
Property Value
Type | Description |
---|---|
String |
OpenInterest
Get option contract open interest.
Declaration
Decimal? OpenInterest { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
OpenInterestDate
Get option contract open interest date.
Declaration
DateOnly? OpenInterestDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateOnly> |
OptionStyle
Get option contract execution style.
Declaration
OptionStyle OptionStyle { get; }
Property Value
Type | Description |
---|---|
OptionStyle |
OptionType
Get option contract type.
Declaration
OptionType OptionType { get; }
Property Value
Type | Description |
---|---|
OptionType |
RootSymbol
Get option contract root asset Symbol property.
Declaration
String RootSymbol { get; }
Property Value
Type | Description |
---|---|
String |
Size
Get option contract size.
Declaration
Decimal Size { get; }
Property Value
Type | Description |
---|---|
Decimal |
Status
Get option contract status in API.
Declaration
AssetStatus Status { get; }
Property Value
Type | Description |
---|---|
AssetStatus |
StrikePrice
Get option contract strike price.
Declaration
Decimal StrikePrice { get; }
Property Value
Type | Description |
---|---|
Decimal |
Symbol
Get option contract symbol.
Declaration
String Symbol { get; }
Property Value
Type | Description |
---|---|
String |
UnderlyingAssetId
Get option contract underlying asset AssetId property.
Declaration
Guid UnderlyingAssetId { get; }
Property Value
Type | Description |
---|---|
Guid |
UnderlyingSymbol
Get option contract underlying asset Symbol property.
Declaration
String UnderlyingSymbol { get; }
Property Value
Type | Description |
---|---|
String |