Interface IAsset
Encapsulates asset information from Alpaca REST API.
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IAsset
Properties
| Improve this Doc View SourceAssetId
Gets unique asset identifier used by Alpaca.
Declaration
Guid AssetId { get; }
Property Value
Type | Description |
---|---|
Guid |
Attributes
Gets the list of asset attributes (unique asset characteristics like PTP order acceptance mode).
Declaration
IReadOnlyList<AssetAttributes> Attributes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<AssetAttributes> |
Class
Gets asset class.
Declaration
AssetClass Class { get; }
Property Value
Type | Description |
---|---|
AssetClass |
EasyToBorrow
Returns true
if asset is easy-to-borrow.
Declaration
Boolean EasyToBorrow { get; }
Property Value
Type | Description |
---|---|
Boolean |
Exchange
Gets asset source exchange.
Declaration
Exchange Exchange { get; }
Property Value
Type | Description |
---|---|
Exchange |
Fractionable
Returns true
if asset is fractionable.
Declaration
Boolean Fractionable { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsTradable
Returns true
if asset is tradable.
Declaration
Boolean IsTradable { get; }
Property Value
Type | Description |
---|---|
Boolean |
MaintenanceMarginRequirement
Gets the % margin requirement for the asset. This property is valid only for equity assets.
Declaration
Decimal? MaintenanceMarginRequirement { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Marginable
Returns true
if asset is marginable.
Declaration
Boolean Marginable { get; }
Property Value
Type | Description |
---|---|
Boolean |
MinOrderSize
Gets minimum order size. This property is valid only for crypto assets.
Declaration
Decimal? MinOrderSize { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
MinTradeIncrement
Gets amount a trade quantity can be incremented by. This property is valid only for crypto assets.
Declaration
Decimal? MinTradeIncrement { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Name
Gets asset name.
Declaration
String Name { get; }
Property Value
Type | Description |
---|---|
String |
PriceIncrement
Gets amount the price can be incremented by. This property is valid only for crypto assets.
Declaration
Decimal? PriceIncrement { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Shortable
Returns true
if asset is shortable.
Declaration
Boolean Shortable { get; }
Property Value
Type | Description |
---|---|
Boolean |
Status
Get asset status in API.
Declaration
AssetStatus Status { get; }
Property Value
Type | Description |
---|---|
AssetStatus |
Symbol
Gets asset symbol.
Declaration
String Symbol { get; }
Property Value
Type | Description |
---|---|
String |