Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.
hallee edited this page May 13, 2020 · 1 revision

Asset

public struct Asset: Codable, Hashable

Inheritance

Codable, Hashable

Properties

id

Asset ID.

let id: String

`class`

Asset class, “us_equity”

let `class`: AssetClass

exchange

let exchange: Exchange

symbol

let symbol: String

status

let status: AssetStatus

tradable

Asset is tradable on Alpaca or not.

let tradable: Bool

marginable

Asset is marginable or not.

let marginable: Bool

shortable

Asset is shortable or not.

let shortable: Bool

easyToBorrow

Asset is easy-to-borrow or not (filtering for easyToBorrow = True is the best way to check whether the name is currently available to short at Alpaca).

let easyToBorrow: Bool
Clone this wiki locally