Compare lump sum, monthly and buy-the-dip
smartfin_compare_investment_strategiesRuns one amount through three ways of buying the same US stock or index ETF over a chosen period, on real daily closing prices (adjusted for splits and reinvested dividends): all at once on the first trading day (lump sum), spread evenly on the trading day nearest the 1st of each month, or bought after the price falls a set % from its latest high. Returns each strategy's final value, total and yearly return, worst fall and Sharpe ratio. Use when the user asks which way of investing would have done better for a specific stock or index over a past period, or what an amount would be worth under each approach. Do not use for one strategy only (use smartfin_calculate_investment_return), for several reference periods at once (use smartfin_compare_time_periods), or for future projections. Limits: US-listed S&P 500 companies and major index ETFs only, prices in US dollars, month-level start and end; results depend on the period and are not a prediction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Total dollars to invest across the whole period | |
| ticker | Yes | Stock or ETF symbol, not a company name: AAPL not Apple. Covers 508 symbols: the S&P 500 companies plus the index ETFs SPY, VOO, IVV, QQQ, DIA, IWM, VTI. | |
| end_month | No | Last month to include, YYYY-MM. Omit for the latest available month | |
| start_month | Yes | First month, YYYY-MM, e.g. 2016-01 | |
| response_format | No | detailed adds worst fall and Sharpe ratio to the summary. Default concise | |
| dip_threshold_pct | No | Buy-the-dip trigger: a fall of this % from the latest high. Default 10 | |
| dip_percent_per_buy | No | Share of the amount spent on each dip, in %. Default 10 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cite | Yes | How to credit this result | |
| data | Yes | ||
| next | Yes | Suggested follow-up calls | |
| links | Yes | ||
| how_to | Yes | Steps for the user to see or redo this on smartfin.fyi | |
| source | Yes | ||
| summary | Yes | Plain-language result the assistant can quote |