Skip to content

Blake Rayvid

Menu
  • About
  • Portfolio
Menu

Tag: NumPy

Vectorization and high-speed numerical operations for complex modeling, including epidemic simulations and profit-maximization solvers.

Compare Stock Returns

Posted on June 1, 2025May 11, 2026 by Blake

This page lets you enter multiple stock tickers (eg. AAPL, MSFT, GOOGL) and even custom portfolio expressions (eg. 0.5*NVDA, 0.25*AMZN, 0.25*KO) and compare their performance against a benchmark (eg. SPY) over any time period. It’s built with Python and Flask on the backend. Data comes from Yahoo Finance via the yfinance library, pandas crunches the…

Continue reading

SOAP: A New Polling Platform

Posted on May 4, 2025May 12, 2026 by Blake

Constructive political criticism online is hard to find. Discussions quickly turn mean, and even minor disagreements can escalate into major arguments. Messages often get lost if one’s audience is too small, and misunderstood words can lead to backlash. That’s where Soap comes inβ€”a new kind of social platform designed to change the way we talk…

Continue reading

TQQQ Trading Algorithm

Posted on August 21, 2024May 12, 2026 by Blake

Developing a successful trading algorithm is about finding the right balance between capturing market gains and managing risks. In this capstone project for the Flatiron School Data Science Bootcamp, I created and refined a QuantConnect trading algorithm that combines a dynamic strategy for SPY with a risk-managed approach for TQQQ. The goal was to optimize…

Continue reading

Space Debris Exploration

Posted on June 1, 2024May 12, 2026 by Blake

This is an exploratory data analysis (EDA) of a Kaggle dataset I made as part of the Flatiron School Data Science Bootcamp. The slides from an associated presentation are available here. πŸ”— View on GitHub

Continue reading

Skyrim Alchemy Optimizer

Posted on December 1, 2022May 12, 2026 by Blake

This Jupyter notebook can be used to maximize alchemy profitability using the ingredients you have on hand in The Elder Scrolls V: Skyrim. It uses integer linear programming from scipy.optimize.milp to determine which potions to make, and in what quantities, to maximize total value. It needs a csv file of the ingredients you have with…

Continue reading

Efficient Portfolio

Posted on December 7, 2020May 12, 2026 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

Boolean Network Animation

Posted on November 19, 2020May 12, 2026 by Blake

This page animates the dynamics of a random boolean network, a collection of interconnected binary variables with a rule for determining the next state from the current one. πŸ”— network.blakerayvid.com View on GitHub

Continue reading

Epidemic Simulator

Posted on April 19, 2020May 12, 2026 by Blake

This Jupyter notebook simulates a disease spreading through a community in random motion. Individuals are represented as points undergoing independent random walks in a bounded 2D environment. Parameters include: the population size, the average population density, the number of times to evolve the system, the number of trials to conduct, and the fraction of the…

Continue reading

Categories

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

Tags

D3.js Desmos Docker Express.js FFmpeg Flask Gemini API Google Maps API HTML/CSS/JS MATLAB Matplotlib Netlify NetworkX Next.js NLP Node.js NumPy P5.js Pandas Pillow PostgreSQL Python QuantConnect Railway React.js Scikit-Learn SciPy TensorFlow Tesseract OCR WeasyPrint YFinance API

© 2026 Blake Rayvid. All rights reserved.