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…
Category: Optimization
Skyrim Alchemy Optimizer
This is a Colab notebook which 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…
Route Optimizer App
Traveling salesman solver for delivery, alleycats and more. Give the app a list of addresses and it will return the optimal order to visit them to minimize travel time, and a map with the ideal route. https://routecat.netlify.app/ https://github.com/brayvid/routecat
Efficient Portfolio Construction
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…