Skip to content

symbol

The symbol.* commands return compact profile and snapshot data for a ticker. Use this namespace when a workflow needs company identity, sector, industry, market cap, website, or source handles before deeper analysis.

All examples use --output json so results are stable to parse in terminals, scripts, and automation workflows.

Show real quote and SEC company metadata for a symbol.

finance symbol.profile shows real quote and SEC company metadata for a symbol. It returns ok, data, error, and warnings in JSON output. The result payload includes symbol, company_name, sector, industry, last_price, market_cap, currency, cik.

Use this command when you need both market metadata and SEC identity fields for a ticker before fetching filings, transcripts, price context, or valuation inputs.

Behavior details: Uses yfinance for market metadata and SEC ticker metadata for CIK/company identity.

Terminal window
finance symbol.profile SYMBOL [--output json]
ArgumentRequiredDefaultAccepted valuesDescription
symbolYesNoneStringTicker symbol to query, such as AAPL or NVDA.
Terminal window
finance symbol.profile IOT --output json

This output was generated with finance symbol.profile IOT --output json.

{
"ok": true,
"data": {
"symbol": "IOT",
"company_name": "Samsara Inc.",
"sector": "Technology",
"industry": "Software - Infrastructure",
"last_price": 27.99,
"market_cap": 16310054912,
"currency": "USD",
"cik": "0001642896",
"sources": [
"yfinance",
"sec_edgar"
],
"website": "https://www.samsara.com",
"ir_website": null
},
"error": null,
"warnings": []
}
FieldTypeDescription
okbooleanWhether the command completed successfully.
dataobject or nullCommand-specific result payload. It is null when ok is false.
errorstring or nullHuman-readable error message when ok is false; otherwise null.
warningsarrayNon-fatal warnings returned by the command.
data.cikstringSEC Central Index Key when available.
data.company_namestringCompany name returned by the provider.
data.currencystringTrading or reporting currency.
data.industrystringCompany industry classification.
data.ir_websitestring or nullInvestor-relations website URL when available.
data.last_pricenumberLatest provider price.
data.market_capintegerMarket capitalization.
data.sectorstringCompany or market sector.
data.sourcesarrayProvider handles used to assemble the result.
data.sources[]stringIndividual provider handle used in the lookup.
data.symbolstringTicker symbol returned for the company.
data.websitestringCompany website URL.

Show real quote and company metadata for a symbol.

finance symbol.snapshot shows real quote and company metadata for a symbol. It returns ok, data, error, and warnings in JSON output. The result payload includes symbol, company_name, sector, industry, last_price, market_cap, currency, cik.

Use this command when you need a compact company snapshot for display, routing, or quick context and do not need the full market.quote payload.

Terminal window
finance symbol.snapshot SYMBOL [--output json]
ArgumentRequiredDefaultAccepted valuesDescription
symbolYesNoneStringTicker symbol to query, such as AAPL or NVDA.
Terminal window
finance symbol.snapshot NVDA --output json

This output was generated with finance symbol.snapshot NVDA --output json.

{
"ok": true,
"data": {
"symbol": "NVDA",
"company_name": "NVIDIA Corporation",
"sector": "Technology",
"industry": "Semiconductors",
"last_price": 235.74,
"market_cap": 5709746405376,
"currency": "USD",
"cik": "0001045810",
"sources": [
"yfinance",
"sec_edgar"
],
"website": "https://www.nvidia.com",
"ir_website": "http://phx.corporate-ir.net/phoenix.zhtml?c=116466&p=irol-IRHome"
},
"error": null,
"warnings": []
}
FieldTypeDescription
okbooleanWhether the command completed successfully.
dataobject or nullCommand-specific result payload. It is null when ok is false.
errorstring or nullHuman-readable error message when ok is false; otherwise null.
warningsarrayNon-fatal warnings returned by the command.
data.cikstringSEC Central Index Key when available.
data.company_namestringCompany name returned by the provider.
data.currencystringTrading or reporting currency.
data.industrystringCompany industry classification.
data.ir_websitestringInvestor-relations website URL.
data.last_pricenumberLatest provider price.
data.market_capintegerMarket capitalization.
data.sectorstringCompany or market sector.
data.sourcesarrayProvider handles used to assemble the result.
data.sources[]stringIndividual provider handle used in the lookup.
data.symbolstringTicker symbol returned for the company.
data.websitestringCompany website URL.