Retrieve the Asset for the given symbol.
If an AssetRepository is provided, and no Asset is found, the function WILL NOT fall back to HTTP.
https://alpaca.markets/docs/api-references/trading-api/assets/
const asset = await getAsset('AAPL')
A valid ticker symbol, e.g. AAPL or BTC/USD for an Asset
bypass assetRepository and force HTTP request
Generated using TypeDoc
Retrieve the Asset for the given symbol.
Remarks
If an AssetRepository is provided, and no Asset is found, the function WILL NOT fall back to HTTP.
See
https://alpaca.markets/docs/api-references/trading-api/assets/
Example