This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
generated from pixel-foundry/swift-package
-
Notifications
You must be signed in to change notification settings - Fork 4
Alpaca_Key
hallee edited this page May 12, 2020
·
2 revisions
API key for interacting with Alpaca’s trade API.
struct Key
To interact with Alpaca’s trade API, sign up for a account and obtain API key pairs from the Alpaca dashboard.
public init(key: String, secret: String)
- key: - key: API key ID
- secret: - secret: Secret key
let key: String
let secret: String
var headerFields: [String: String]
func authenticate(request: inout URLRequest)
Generated at 2020-05-22T00:57:11+0000 using swift-doc 1.0.0-beta.3.
Types
- Account
- AccountStatus
- Alpaca
- Alpaca.Key
- Alpaca.Mode
- Alpaca.Version
- AlpacaAPI
- AlpacaAPI.Path
- AlpacaError
- Asset
- Asset.QueryParameters
- AssetClass
- AssetStatus
- Calendar
- Calendar.QueryParameters
- Cancel
- Clock
- Currency
- Direction
- Exchange
- Money
- Order
- Order.QueryParameters
- OrderCancellation
- OrderClass
- OrderRequest
- OrderSide
- OrderStatus
- OrderStatusFilter
- OrderType
- Position
- PositionLiquidation
- PositionSide
- Quantity
- StopLoss
- TakeProfit
- TimeInForce