Skip to content

Finance Hub

  • Market AnalysisExpand
    • Asset Class Analysis (e.g., Bonds, Equities, ETFs)
    • Interest Rates & Monetary Policy
    • Analytical Tools & Methods
    • Semiconductors
    • Financial Sector
    • Technology
  • Company & Sector Deep DivesExpand
    • Health Care (GICS 35): KPIs, Valuation Notes, and Deep Dives
    • Information Technology — Sector Hub (GICS 45)
  • Python for FinanceExpand
    • Portfolio Management
    • Fundamental Analysis
    • Screeners
    • Technical Analysis & Indicators
  • Privacy Policy
Finance Hub
  • Two bar charts of wall-clock time on a log scale for the same ASML moving-average backtest in a plain Python loop, backtesting.py, backtrader and vectorbt: one backtest in milliseconds, and an 81-pair parameter sweep in seconds, with vectorbt's first call, which includes compiling, shown separately
    Backtesting & Strategy Development | Python for Finance

    Best Python backtesting library? backtesting.py, backtrader, vectorbt

    ByJose Manuel November 19, 2026

    One 50/200-day moving-average rule on ASML, written in backtesting.py, backtrader, vectorbt and a plain Python loop: identical results once the fill rules match, very different speeds, and three different answers when each library is left on its defaults.

    Read More Best Python backtesting library? backtesting.py, backtrader, vectorbtContinue

  • Scorecard of four Claude Code runs on 31 Alphabet figures graded against SEC XBRL: both runs with the SEC EDGAR MCP server match the filing on 30 figures including Q3 2026 and decline Google Cloud revenue, while the two runs without tools decline all Q3 2026 figures and one also declines every fiscal 2025 figure
    AI for Finance Research

    How to build a finance MCP server for SEC EDGAR data in Python

    ByJose Manuel November 17, 2026

    A 130-line Python MCP server gives Claude Code SEC EDGAR data. Tested on 31 Alphabet figures: both runs matched the filings on 30, including Q3 2026 capex derived from year-to-date 10-Q figures, and both missed Google Cloud revenue, which the SEC’s companyfacts API leaves out.

    Read More How to build a finance MCP server for SEC EDGAR data in PythonContinue

  • Bar chart of seconds per call for the replacement calls only, one run on 14 November 2026, each labelled with the yfinance call it replaces for Alphabet (GOOGL) and the Market Data, SEC companyfacts, edgartools or FRED call that did the work, with the rows each returned
    Python for Finance

    yfinance alternatives tested: free stock data APIs compared

    ByJose Manuel November 14, 2026November 17, 2026

    Every yfinance call I use on Alphabet (GOOGL), replaced and timed: Market Data for prices and options chains, the SEC’s XBRL API and edgartools for revenue and shares, FRED for the 10-year yield, with the quirks each one showed.

    Read More yfinance alternatives tested: free stock data APIs comparedContinue

  • Scorecard of seven AI runs on twelve ASML fiscal 2025 figures, checked against the XBRL in ASML's 20-F: Claude's two memory runs show wrong R&D, capex and cash figures and a diluted EPS answer equal to the basic figure, GPT and Gemini declined all but 2024 net sales, and Claude with web search matched every filed figure
    AI for Finance Research

    AI for financial data analysis: check the numbers against SEC XBRL

    ByJose Manuel November 12, 2026November 15, 2026

    Claude, OpenAI’s GPT model and Gemini were asked for twelve ASML fiscal 2025 figures without web search. A short Python check against the 20-F’s XBRL found Claude’s wrong capex, cash and R&D figures and a diluted EPS answer that equals the basic figure; with web search, Claude matched every filed figure.

    Read More AI for financial data analysis: check the numbers against SEC XBRLContinue

  • Python for Finance

    How to fix yfinance rate limit errors in 2026 (YFRateLimitError)

    ByJose Manuel November 7, 2026November 15, 2026

    A yfinance rate limit error can come from the session you pass in. Python code that counts the requests behind each yfinance call, backs off, catches empty downloads and caches results, worked on ASML.

    Read More How to fix yfinance rate limit errors in 2026 (YFRateLimitError)Continue

  • The three models' answers to the stock-based compensation question on Alphabet's fiscal 2025 10-K, from the saved runs, with GPT run 1's use of the Note 13 total marked in red
    AI for Finance Research

    Claude vs ChatGPT vs Gemini for stock analysis: one 10-K, three models

    ByJose Manuel November 3, 2026November 15, 2026

    Claude, OpenAI’s GPT model and Gemini read the same Alphabet 10-K with the same prompts, twice each. Every figure matched the filing and every run refused the trap questions; one run picked a different stock-based compensation figure.

    Read More Claude vs ChatGPT vs Gemini for stock analysis: one 10-K, three modelsContinue

  • Bar chart of ASML's revenue, net income and free cash flow for fiscal 2018 to 2025 in euro billions, built from the SEC's XBRL company facts
    Fundamental Analysis | Python for Finance

    How to build an XBRL parser in Python: SEC filings to JSON

    ByJose Manuel October 31, 2026November 15, 2026

    Python code that flattens the SEC’s XBRL company facts into JSON and parses a filing’s XBRL instance for the regional and product figures the API leaves out, worked on ASML.

    Read More How to build an XBRL parser in Python: SEC filings to JSONContinue

  • Claude Code's printed DCF output for Alphabet: the valuation block from enterprise value through the bridge to value per share as of 30 June 2026, with the balance-sheet date and the excluded non-marketable securities marked in red
    AI for Finance Research

    How I build a DCF with Claude Code, and where it got numbers wrong

    ByJose Manuel October 29, 2026November 15, 2026

    Claude Code built a DCF of Alphabet from SEC XBRL data in three minutes. Every input matched the filings; the balance sheet was a quarter old and $131.5 billion of securities were left out.

    Read More How I build a DCF with Claude Code, and where it got numbers wrongContinue

  • Bar chart of Alphabet's revenue, operating income and free cash flow for fiscal 2022 to 2025, in billions of dollars, built from SEC XBRL data
    Fundamental Analysis | Python for Finance

    How to use the SEC EDGAR API in Python (no API key)

    ByJose Manuel October 24, 2026November 17, 2026

    Free Python code that pulls a company’s XBRL financial data from the SEC EDGAR API, worked on Alphabet and checked against its 10-K.

    Read More How to use the SEC EDGAR API in Python (no API key)Continue

  • Lumentum quarterly revenue and GAAP margins, fiscal 2025 and 2026
    Semiconductors

    How does Lumentum make money?

    ByJose Manuel October 22, 2026November 15, 2026

    Lumentum sells lasers as hardware, mostly into AI data center networks. Where its revenue comes from, why its margins swing, who its customers are and what to watch.

    Read More How does Lumentum make money?Continue

Page navigation

1 2 3 … 11 Next PageNext
  • About
  • Legal Notice (Imprint)
  • Terms and Conditions
  • Privacy Policy

Footer

  • About
  • Legal Notice (Imprint)
  • Terms and Conditions
  • Privacy Policy

We improve our products and advertising by using Microsoft Clarity to see how you use our website. By using our site, you agree that we and Microsoft can collect and use this data. Our privacy statement (link) has more details.

  • Market Analysis
    • Asset Class Analysis (e.g., Bonds, Equities, ETFs)
    • Interest Rates & Monetary Policy
    • Analytical Tools & Methods
    • Semiconductors
    • Financial Sector
    • Technology
  • Company & Sector Deep Dives
    • Health Care (GICS 35): KPIs, Valuation Notes, and Deep Dives
    • Information Technology — Sector Hub (GICS 45)
  • Python for Finance
    • Portfolio Management
    • Fundamental Analysis
    • Screeners
    • Technical Analysis & Indicators
  • Privacy Policy
Search