{
  "what": "Daily facts on where idle US-dollar cash can sit: bitcoin-backed preferred stocks beside a 4-week US Treasury bill, a government money market fund and USDC lending. Facts and arithmetic only. Not advice. Nothing here holds, moves or trades money.",
  "numbers": "Every number carries its source address and the date it is true for (as_of), or the formula and inputs it was worked out from. A number that could not be read is null, with the reason next to it. Nothing is filled in by hand.",
  "stale": "A number is stale when it is more than 4 days older than the build date. A worked-out number is stale when any of its inputs is.",
  "formulas": {
    "yield_pct": "stated_rate_pct * par_usd / close_usd: the yearly payout on the $100 par, as a percent of the last close. The issuer can change the stated rate.",
    "worst_drop_pct": "the largest fall, in percent, from a closing high to any later close, over the past year of daily closes",
    "avg_volume_30d": "mean shares traded per day over the newest 30 daily rows",
    "schedule": "the median gap between the last 6 pay dates: up to 4 days is every business day, 10-20 twice a month, 25-35 monthly, 80-100 quarterly",
    "payments": "pay dates on or before the build date, counted back to the last gap; a gap is a missing payment longer than the usual spacing (35 days, or 100 for quarterly payers, or 4 days once a security pays daily)",
    "est_income_usd": "round(amount_usd * yield_pct / 100 * days / 365, 2): simple interest at today's yield, before tax and fees, ignoring any change in price. It is 0, with est_income_reason, when no payment lands inside the days (see pay_in_hold)",
    "pay_in_hold": "true when the declared next pay date falls within the days. With no declared date, a monthly or quarterly payer's next pay date is projected from its last pay date by its schedule (pay_in_hold_basis says which)",
    "hold_odds": "from the daily closes and dividends in the feed: start at each day's close, hold the asked number of calendar days, end at the last close on or before the last day. Result = (end close - start close + dividends with an ex-date after the start day and on or before the last day) / start close * 100. holds = how many such holds fit in the closes; beat_tbill_pct = share of holds whose result is above the 4-week T-bill at today's rate over the same days (tbill_pct * days / 365); lost_pct = share below 0; median_pct = the middle result; worst_pct = the lowest, with its start day (worst_bought). Shares are rounded half up to one decimal. Fewer than 60 holds gives null with the reason. Past results do not predict future results",
    "sharpe": "past-year Sharpe ratio from daily total returns (close to close, dividends on their ex-date): (mean daily return - 4-week T-bill rate today / 252) / standard deviation of daily returns * sqrt(252). total_return_pct compounds the daily returns; swings_pct = standard deviation * sqrt(252). Fewer than 60 daily returns gives null with the reason. example: a bot with a Sharpe ratio of 1.0 that sits 60% in cash moves all of that cash (60% of the account) into the instrument; its new Sharpe ratio = (1.0 * bot swings + 0.6 * (total return - T-bill rate)) / sqrt(bot swings^2 + (0.6 * swings)^2), for bot swings of 10% and 20% a year, assuming the bot's trades do not move with the instrument; extra_return_points = 0.6 * (total return - T-bill rate). Past results do not predict future results",
    "backing": "the bitcoin crash test, one rule for every Strategy and Strive preferred, at stated amounts: backing_x = (bitcoin held * bitcoin price + cash) / (debt + every preferred ahead of it in line + the issue itself); break_even_btc_usd = (claims - cash) / bitcoin held, the bitcoin price at which backing_x would be 1.0; below_today_pct and below_record_pct = how far that is under today's price and the record; cash_years = cash set aside for dividends and interest, in years of the yearly bill (Strategy: USD Reserve / its yearly bill of dividends and interest; Strive: its stated reserve in months / 12). Daily inputs come from Coinbase, strategy.com and strive.com; debt, the USD Reserve and the order in line come from filings, each dated. A failed input keeps its last good value and date",
    "by_buy_price": "the same holds as hold_odds, for 30, 90, 180 days, split by the close on the start day: under $90, $90 to $95, $95 to $100, $100 and over. Per band: buys (holds started in the band), lost (results below 0), avg_pct (the mean result) and worst_pct (the lowest). A band with fewer than 5 buys gives null with the reason. drops_under counts the separate runs of start-day closes below $90, $95 and $100. issuer_aims_price_near_100 repeats the sourced profile fact. A holding time with too few holds gives the reason and first_results_around, the day the 60th hold should finish (weekdays; holidays can push it later). Past results do not predict future results",
    "payments_since": "payments.since: the first pay date of the current run of payments (in_a_row counts from it). payments.schedules: how the spacing between those payments changed over the run, oldest first: daily (up to 4 days apart), twice a month (10-20), monthly (25-35), quarterly (80-100). A run that began monthly and is now daily spans that change."
  },
  "compare": {
    "inputs": {
      "amount_usd": "the cash to place, in US dollars",
      "days": "how long it can stay placed",
      "max_drop_pct": "the biggest past-year price fall the owner will accept",
      "kinds": "what the account can hold: preferred, tbill, money_market, usdc_lending"
    },
    "options": "instruments whose kind is in kinds, whose yield is known, and whose worst drop is at or under max_drop_pct. Options with hold odds for exactly these days come first, by median_pct, highest first, then by ticker; options without hold odds follow, flagged no_hold_odds, by yield, highest first, then by ticker",
    "hold_odds": "worked out for exactly the asked days from the daily closes. instruments.json also carries them for 7, 30, 90, 180, 365 days",
    "profile": "what each instrument is built for: rate type, whether the issuer states it adjusts the rate to keep the price near $100, the stated pay schedule, and a one-line statement that follows from those facts. Each fact cites the issuer's own filing and the exact words, in data/instrument_profiles.json and instruments.json",
    "summary": "one plain sentence per option with hold odds, in option order, that can be quoted",
    "excluded": "every other instrument, with the plain reason it was left out",
    "benchmarks": "always returned; holdable says whether the account can hold that kind"
  },
  "flags": {
    "price_moves": "a listed preferred stock: its price moves every day and can fall below the $100 par, so the cash back can be less than the cash put in",
    "issuer_sets_rate": "a variable rate: the issuer sets the dividend rate each period and can lower it",
    "fixed_rate": "the filing fixes the dividend rate; each dividend is still declared by the issuer's board",
    "short_history": "fewer than 90 trading days of prices, so the worst drop covers a short time",
    "no_hold_odds": "fewer than 60 past holds of this length fit in the daily closes, so there is no record of how holds this long turned out",
    "thin_trading": "the amount is more than 1% of an average day's trading (avg_volume_30d * close), or volume is unknown",
    "payment_gap": "a payment was missed within the counted history",
    "no_payment_in_window": "no declared or projected pay date falls within the chosen days",
    "stale": "a number behind this row is more than 4 days old",
    "not_bank_insured": "a money market fund: not a bank deposit and not insured by the FDIC",
    "smart_contract_risk": "lending on a blockchain protocol: a software fault or hack can lose funds, and the rate changes block by block"
  },
  "sources": {
    "close_usd, avg_volume_30d": "Nasdaq daily history, api.nasdaq.com/api/quote/<ticker>/historical",
    "dividends, pay dates": "Nasdaq dividend history, api.nasdaq.com/api/quote/<ticker>/dividends; cross-checked against Strategy (STRC) and Strive (SATA)",
    "stated_rate_pct (STRC, STRF, STRK, STRD)": "Strategy, api.strategy.com/btc/<ticker>KpiData, currentDividend",
    "stated_rate_pct (SATA)": "Strive, strive.com/treasury dashboard. Strive dates the rate record to the day it was set, so it reads as stale until the next reset.",
    "stated_rate_pct (SATS)": "the SEC 8-K filing that set its terms; as_of is the day the filing was read",
    "tbill_4w": "US Treasury daily bill rates (coupon-equivalent, 4 weeks), home.treasury.gov",
    "mmf_vmfxx": "Nasdaq fund summary for VMFXX, 7-day yield. The response carries no date, so as_of is the day it was fetched.",
    "usdc_aave_v3": "DefiLlama yields chart for the Aave v3 USDC pool on Ethereum, newest row",
    "never used": "Nasdaq's own 'yield' field"
  },
  "situation": "inputs: amount_usd, hold (1 month, 3 months, 6 months or 1 year = 30, 90, 180 or 365 days) and sits_in (where the cash is today, one of the comparison_rates ids). The same rows for STRC, SATA and SATS, in that order, never ranked: dividends_usd = amount * yield today * days / 365 (dividends only, before tax, price change left out); cash_now_usd = amount * the sits_in rate * days / 365; difference_usd = dividends_usd - cash_now_usd; past_holds = hold_odds for the same number of days (dividends plus price change: ahead_pct is the share of past holds that ended above what was paid, median_pct the typical result, worst_pct the worst), or the reason and first_results_around when there are too few; whole_shares = floor(amount / last close); price_vs_100_usd = last close - $100. where_to_buy lists brokers' own pages for each ticker. Past results do not predict future results",
  "comparison_rates": "what idle cash earns in ordinary places, each a dated, sourced yearly rate refreshed daily: checking and savings national averages and the 12-month CD average (FDIC national rates, monthly), top widely available high-yield savings and 12-month CD (Bankrate), a money market fund (Fidelity SPAXX 7-day yield), the 4-week T-bill (US Treasury), a municipal bond fund (iShares MUB 30-day SEC yield) and one broker's cash rate (named in the label). A failed source keeps its last good figure and date; each rate must be between 0% and 15% and may not move more than 2 points in one day",
  "where_to_buy": "brokers whose own pages for STRC, SATA and SATS were found, alphabetical, checked daily: a page that names the ticker and the security is ok; a broker that blocks scripts is 'not checked by script'; a missing page is dropped. No ranking, no referral codes, no tracking parameters",
  "tax_statements": "the issuers' and the IRS's own words on how these dividends are treated, quoted with the document, its date and link. Treatment depends on each holder's situation",
  "scenarios": {
    "what": "What a sum of cash did over the past 30, 90, 180 and 365 days in each preferred stock, beside a T-bill and a money market fund at today's rate, and three named situations that put today's numbers and the past window side by side.",
    "formulas": {
      "start_close_usd": "the first daily close on or after the window's start date (snapshot date minus the window's days)",
      "shares": "floor(amount_usd / start_close_usd): whole shares only",
      "cash_left_usd": "amount_usd - shares * start_close_usd: the part too small for one more share",
      "dividends_usd": "shares * the sum of dividends whose ex-date is after the start date and whose pay date is on or before the snapshot date: money actually paid in the window",
      "earned_not_yet_paid_usd": "shares * dividends with an ex-date in the window but a pay date after the snapshot date; not counted in total_usd",
      "price_change_usd": "shares * (end_close_usd - start_close_usd), where end_close_usd is the newest close in the snapshot",
      "total_usd": "dividends_usd + price_change_usd; total_pct = total_usd / amount_usd * 100",
      "lowest": "for each daily close in the window, the holding's value = shares * close + cash_left_usd + dividends paid so far; below_start_usd is how far the smallest of those values fell under amount_usd (0 if it never did), with its date",
      "benchmark (at today's rate)": "round(amount_usd * yield_pct / 100 * days / 365, 2) using the rate known on the snapshot date for the whole window. The feed has no rate history, so this is not what the benchmark actually paid over the window, and no lowest point is worked out",
      "skipped window": "a window is skipped, with the reason, when the instrument's daily closes do not reach back to the window's start"
    },
    "situations": "each situation runs the compare function with its amount and days, every kind the feed knows and no drop limit, so every option with a yield appears with its worst drop beside it and the benchmarks always included; then the look-back for the same amount and days",
    "coverage": "Issuer coverage is not recomputed here. instruments.json carries each issuer's own published figures (coverage block), passed through as published.",
    "limits": [
      "Past results do not predict future results.",
      "A preferred stock's price can fall below its $100 par, so the cash back can be less than the cash put in.",
      "The issuer sets the dividend rate and can lower or skip it.",
      "Before tax and fees. Dividends are counted as cash, not put back in."
    ]
  }
}
