Skip to content

Blake Rayvid

Menu
  • About
  • Portfolio
Menu

Tag: Yahoo Finance API

Compare Stock Returns

Posted on June 1, 2025September 28, 2025 by Blake

This page lets you enter multiple stock tickers (eg. AAPL, MSFT, GOOGL) and even portfolio expressions (eg. 1.75*NVDA+2.5*AMZN+5.5*KO) and compare their returns visually against a benchmark (like SPY). It’s built with Python and Flask on the backend. Data comes from Yahoo Finance via the yfinance library, pandas crunches the numbers, and matplotlib generates the plots….

Continue reading

Efficient Portfolio

Posted on December 7, 2020August 14, 2025 by Blake

This is a Python implementation of Robert C. Merton’s efficient or minimum-variance portfolio algorithm from the paper An Analytic Derivation of the Efficient Portfolio Frontier (1972). Building on the work of Harry Markowitz, Merton describes a way to assign weights to a list of securities to make a portfolio that has the lowest variance in…

Continue reading

Categories

  • Data Science
  • Exploration
  • Finance
  • Health
  • Interactive
  • Optimization
  • Utilities

Tags

D3.js Desmos Express Flask Gemini API Google Maps API HTML/CSS/JS JQuery MATLAB Matplotlib Netlify NetworkX NLP NLTK NumPy P5.js Pandas Python QuantConnect Railway React Scikit-Learn SciPy SpaCy SQL TensorFlow Vader Yahoo Finance API

© 2025 Blake Rayvid. All rights reserved.