Skip to content

price

The price.* commands return price context around a target date and identify large historical moves. Use this namespace when a workflow needs to connect an event, filing, or transcript date to market reaction.

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

Return a source-linked evidence timeline around a date.

finance price.context returns a source-linked evidence timeline around a date. It returns ok, data, error, and warnings in JSON output. The result payload includes symbol, target_date, lookback, lookback_days, start_date, end_date, timeline, count.

Use when the user asks what filings, news, or transcripts were near a dated price move.

Do not claim causality unless the evidence explicitly supports it.

Behavior details: lookback is calendar time around date: 3D=3 calendar days before and after, 1W=7 calendar days, 1M=30 calendar days. Timeline roles are temporal only: before_move, same_day, after_move. Event/publication dates are explicit to avoid implied causal claims.

Terminal window
finance price.context SYMBOL date=YYYY-MM-DD [lookback=3D news_limit=5 filing_limit=80 transcript_limit=12] [--output json]
ArgumentRequiredDefaultAccepted valuesDescription
symbolYesNoneStringTicker symbol to query, such as AAPL or NVDA.
dateYesNoneYYYY-MM-DDTarget event or move date to center the evidence window on.
filing_limitNo80IntegerMaximum recent filings considered before date filtering.
lookbackNo3DStringCalendar window around date, such as 3D, 1W, or 1M.
news_limitNo5IntegerMaximum news items included in the timeline.
transcript_limitNo12IntegerMaximum transcripts considered before date filtering.
Terminal window
finance price.context IOT date=2026-03-06 lookback=3D --output json

This output was generated with finance price.context IOT date=2026-03-06 lookback=3D --output json.

{
"ok": true,
"data": {
"symbol": "IOT",
"target_date": "2026-03-06",
"lookback": "3D",
"lookback_days": 3,
"start_date": "2026-03-03",
"end_date": "2026-03-09",
"timeline": [
{
"relative_day": -1,
"date": "2026-03-05",
"evidence_role": "before_move",
"source_type": "filing",
"title": "8-K filed",
"url": "https://www.sec.gov/Archives/edgar/data/1642896/000162828026015170/iot-20260305.htm",
"metadata": {
"form": "8-K",
"accession_no": "0001628280-26-015170",
"report_date": "2026-03-05",
"items": [
"2.02",
"9.01"
]
}
},
{
"relative_day": -1,
"date": "2026-03-05",
"evidence_role": "before_move",
"source_type": "transcript",
"title": "Samsara (IOT) Q4 2026 Earnings Call Transcript",
"url": "https://www.fool.com/earnings/call-transcripts/2026/03/05/samsara-iot-q4-2026-earnings-call-transcript/",
"metadata": {
"quarter": "Q4 2026",
"published_at": "2026-03-05T23:27:39+00:00",
"source": "motley_fool"
}
},
{
"relative_day": 2,
"date": "2026-03-08",
"evidence_role": "after_move",
"source_type": "news",
"title": "10 Stocks Investors Are Watching Closely This Week",
"url": "https://www.insidermonkey.com/blog/10-stocks-investors-are-watching-closely-this-week-1711585/",
"metadata": {
"domain": "insidermonkey.com",
"source_country": "United States",
"language": "English",
"published_at": "20260308T034500Z"
},
"excerpt": "20260308T034500Z"
},
{
"relative_day": 3,
"date": "2026-03-09",
"evidence_role": "after_move",
"source_type": "news",
"title": "Buddha / Nature : MFAH pairs ancient masterpieces with contemporary global visions",
"url": "https://artdaily.com/news/193701/Buddha-Nature--MFAH-pairs-ancient-masterpieces-with-contemporary-global-visions",
"metadata": {
"domain": "artdaily.com",
"source_country": "United States",
"language": "English",
"published_at": "20260309T011500Z"
},
"excerpt": "20260309T011500Z"
},
{
"relative_day": 3,
"date": "2026-03-09",
"evidence_role": "after_move",
"source_type": "news",
"title": "FinancialContent - Samsara Inc . ( IOT ): The Digital Backbone of the Physical World – 2026 Research Feature",
"url": "https://markets.financialcontent.com/stocks/article/finterra-2026-3-9-samsara-inc-iot-the-digital-backbone-of-the-physical-world-2026-research-feature",
"metadata": {
"domain": "markets.financialcontent.com",
"source_country": "United States",
"language": "English",
"published_at": "20260309T141500Z"
},
"excerpt": "20260309T141500Z"
},
{
"relative_day": 3,
"date": "2026-03-09",
"evidence_role": "after_move",
"source_type": "news",
"title": "NVIDIA Upgraded , Eli Lilly Downgraded : Updated Rankings on Top Blue - Chip Stocks",
"url": "https://investorplace.com/market360/2026/03/20260309-blue-chip-upgrades-downgrades/",
"metadata": {
"domain": "investorplace.com",
"source_country": "United States",
"language": "English",
"published_at": "20260309T163000Z"
},
"excerpt": "20260309T163000Z"
},
{
"relative_day": 3,
"date": "2026-03-09",
"evidence_role": "after_move",
"source_type": "news",
"title": "Samsara Q4 Earnings Call Highlights",
"url": "https://www.tickerreport.com/banking-finance/13372020/samsara-q4-earnings-call-highlights.html",
"metadata": {
"domain": "tickerreport.com",
"source_country": "United States",
"language": "English",
"published_at": "20260309T081500Z"
},
"excerpt": "20260309T081500Z"
}
],
"count": 7,
"warnings": [],
"notes": [
"Timeline roles are temporal only: before_move, same_day, or after_move.",
"Event/publication dates are shown explicitly to avoid implied causality."
]
},
"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.countintegerNumber of records included in the adjacent result array.
data.end_datestringEnd date used by the command.
data.lookbackstringCalendar lookback window requested by the command.
data.lookback_daysintegerLookback converted to calendar days.
data.notesarrayAdditional notes that affect interpretation.
data.notes[]stringAdditional notes that affect interpretation.
data.start_datestringStart date used by the command.
data.symbolstringTicker symbol used for the timeline.
data.target_datestringTarget event date used by the command.
data.timelinearrayChronological evidence records around the target date.
data.timeline[]objectChronological evidence records around the target date.
data.warningsarrayNon-fatal warnings returned by the command.
data.timeline[].datestringEvent, bar, filing, or publication date.
data.timeline[].evidence_rolestringTemporal role relative to the target date.
data.timeline[].excerptstringShort excerpt or source snippet.
data.timeline[].metadataobjectSource metadata for the evidence record.
data.timeline[].relative_dayintegerDay offset from the target date.
data.timeline[].source_typestringType of evidence source.
data.timeline[].titlestringFiling, transcript, or article title shown in the timeline.
data.timeline[].urlstringSource URL.
data.timeline[].metadata.accession_nostringSEC accession number for filing evidence.
data.timeline[].metadata.domainstringArticle domain.
data.timeline[].metadata.formstringSEC form type for filing evidence.
data.timeline[].metadata.itemsarraySEC form items for filing evidence.
data.timeline[].metadata.items[]stringIndividual SEC form item code.
data.timeline[].metadata.languagestringArticle language.
data.timeline[].metadata.published_atstringPublication timestamp returned by the provider.
data.timeline[].metadata.quarterstringFiscal quarter label.
data.timeline[].metadata.report_datestringReporting period date.
data.timeline[].metadata.sourcestringProvider or source identifier for the returned data.
data.timeline[].metadata.source_countrystringArticle source country.

Find large deterministic close-to-close stock moves.

finance price.moves finds large deterministic close-to-close stock moves. It returns ok, data, error, and warnings in JSON output. The result payload includes symbol, window, trading_window_days, years, threshold_pct, moves, count, source.

Use for price move discovery and evidence timelines around a date.

Do not infer causality from price.context alone.

Behavior details: window is a trading-day window: 1d=1 trading day, 1w=5 trading days, 1m=21 trading days. threshold accepts decimal or percentage-point inputs: 0.08, 8, and 8% all mean 8%. Uses one OHLCV fetch and deterministic close-to-close math. Returns move dates and magnitude only; it does not infer causality.

Terminal window
finance price.moves SYMBOL [window=1d|3d|1w|1m years=3 threshold=8|8% limit=20 provider=auto] [--output json]
ArgumentRequiredDefaultAccepted valuesDescription
symbolYesNoneStringTicker symbol to query, such as AAPL or NVDA.
limitNo20IntegerMaximum number of records returned.
providerNoautoStringMarket data provider selection. Use auto unless you need to force a supported provider.
thresholdNoNone8, 8%Minimum absolute close-to-close move. 8, 8%, and 0.08 are treated as 8%.
windowNoNone1d, 3d, 1w, 1mTrading-day move window.
yearsNo3IntegerHistorical lookback period in years.
Terminal window
finance price.moves IOT years=1 threshold=8% limit=5 --output json

This output was generated with finance price.moves IOT years=1 threshold=8% limit=5 --output json.

{
"ok": true,
"data": {
"symbol": "IOT",
"window": "1d",
"trading_window_days": 1,
"years": 1,
"threshold_pct": 8.0,
"moves": [
{
"symbol": "IOT",
"end_date": "2026-03-06",
"start_date": "2026-03-05",
"window": "1 trading day",
"start_close": 29.58,
"end_close": 35.36,
"return_pct": 19.54,
"direction": "up",
"volume": 33401800,
"volume_vs_20d": 3.84,
"avg_abs_return_20d_pct": 3.8994,
"move_vs_20d_avg_abs_return": 5.01,
"source": "yfinance"
},
{
"symbol": "IOT",
"end_date": "2025-09-05",
"start_date": "2025-09-04",
"window": "1 trading day",
"start_close": 35.84,
"end_close": 42.09,
"return_pct": 17.44,
"direction": "up",
"volume": 23981800,
"volume_vs_20d": 4.46,
"avg_abs_return_20d_pct": 2.8561,
"move_vs_20d_avg_abs_return": 6.11,
"source": "yfinance"
},
{
"symbol": "IOT",
"end_date": "2025-12-05",
"start_date": "2025-12-04",
"window": "1 trading day",
"start_close": 40.71,
"end_close": 45.22,
"return_pct": 11.08,
"direction": "up",
"volume": 21626700,
"volume_vs_20d": 4.64,
"avg_abs_return_20d_pct": 2.5703,
"move_vs_20d_avg_abs_return": 4.31,
"source": "yfinance"
},
{
"symbol": "IOT",
"end_date": "2026-04-15",
"start_date": "2026-04-14",
"window": "1 trading day",
"start_close": 26.51,
"end_close": 28.85,
"return_pct": 8.83,
"direction": "up",
"volume": 9531500,
"volume_vs_20d": 1.64,
"avg_abs_return_20d_pct": 2.7308,
"move_vs_20d_avg_abs_return": 3.23,
"source": "yfinance"
},
{
"symbol": "IOT",
"end_date": "2026-04-23",
"start_date": "2026-04-22",
"window": "1 trading day",
"start_close": 32.04,
"end_close": 29.28,
"return_pct": -8.61,
"direction": "down",
"volume": 6673700,
"volume_vs_20d": 1.1,
"avg_abs_return_20d_pct": 3.3912,
"move_vs_20d_avg_abs_return": 2.54,
"source": "yfinance"
}
],
"count": 5,
"source": "yfinance",
"notes": [
"Moves are close-to-close and deterministic.",
"No causal explanation is inferred by this command."
]
},
"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.countintegerNumber of records included in the adjacent result array.
data.movesarrayLarge price-move records.
data.moves[]objectLarge price-move records.
data.notesarrayAdditional notes that affect interpretation.
data.notes[]stringAdditional notes that affect interpretation.
data.sourcestringProvider or source identifier for the returned data.
data.symbolstringTicker symbol used for move discovery.
data.threshold_pctnumberMove threshold as a percentage.
data.trading_window_daysintegerTrading-day count represented by window.
data.windowstringWindow size used for the calculation.
data.yearsintegerHistorical window length in years.
data.moves[].avg_abs_return_20d_pctnumberTrailing 20-day average absolute return percentage.
data.moves[].directionstringDirection of the close-to-close move: up or down.
data.moves[].end_closenumberClose price at the end of a move window.
data.moves[].end_datestringEnd date used by the command.
data.moves[].move_vs_20d_avg_abs_returnnumberMove size divided by trailing average absolute move.
data.moves[].return_pctnumberReturn percentage for the period.
data.moves[].sourcestringProvider or source identifier for the returned data.
data.moves[].start_closenumberClose price at the start of a move window.
data.moves[].start_datestringStart date used by the command.
data.moves[].symbolstringTicker symbol for the move row.
data.moves[].volumeintegerTrading volume.
data.moves[].volume_vs_20dnumberVolume compared with trailing 20-day average.
data.moves[].windowstringWindow size used for the calculation.