Show / Hide Table of Contents

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 Source

AssetId

Gets unique asset identifier used by Alpaca.

Declaration
Guid AssetId { get; }
Property Value
Type Description
Guid
| Improve this Doc View Source

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>
| Improve this Doc View Source

Class

Gets asset class.

Declaration
AssetClass Class { get; }
Property Value
Type Description
AssetClass
| Improve this Doc View Source

EasyToBorrow

Returns true if asset is easy-to-borrow.

Declaration
Boolean EasyToBorrow { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Exchange

Gets asset source exchange.

Declaration
Exchange Exchange { get; }
Property Value
Type Description
Exchange
| Improve this Doc View Source

Fractionable

Returns true if asset is fractionable.

Declaration
Boolean Fractionable { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsTradable

Returns true if asset is tradable.

Declaration
Boolean IsTradable { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

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>
| Improve this Doc View Source

Marginable

Returns true if asset is marginable.

Declaration
Boolean Marginable { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

MinOrderSize

Gets minimum order size. This property is valid only for crypto assets.

Declaration
Decimal? MinOrderSize { get; }
Property Value
Type Description
System.Nullable<Decimal>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Name

Gets asset name.

Declaration
String Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

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>
| Improve this Doc View Source

Shortable

Returns true if asset is shortable.

Declaration
Boolean Shortable { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Status

Get asset status in API.

Declaration
AssetStatus Status { get; }
Property Value
Type Description
AssetStatus
| Improve this Doc View Source

Symbol

Gets asset symbol.

Declaration
String Symbol { get; }
Property Value
Type Description
String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX