In most of the work I do, the ability to easily plot data in Python is a major determinate when choosing a programming language for a project. A while back I was looking into what…
Category: Finance
The Problem with Stock Path Generation
Recently I’ve been reading Benoit Mandelbrot’s book The (Mis)Behavior of Markets: A Fractal View of Financial Turbulence. Early in this book Mandelbrot discusses one major issue with the underlying assumption of certain financial simulations. In particular,…
Trading Trends with Bollinger Bands
Determining the trend of a stock price is very powerful when devising a technical trading system. If we are able to determine when a trend is reversing, that is reaching a top or a bottom,…
Improving the Results and Efficiency of My Options Trading GA
In a previous post, I wrote about a genetic algorithm (GA) whose goal is to find stocks that could potentially create a promising put-selling portfolio. Currently, the GA searches through stocks that offer weekly options…
Read more of Improving the Results and Efficiency of My Options Trading GA
Finding (Potentially) Undervalued Stocks in the Stock Market
In a previous post, I wrote about finding undervalued sectors in the stock market by determining the divergence of the sector from some representation of the market itself. This post was intended to be a…
Read more of Finding (Potentially) Undervalued Stocks in the Stock Market
Using Genetic Algorithms to Efficiently Trade the Wheel (Python)
The wheel is a loss-limited option selling strategy that is very effective at generating income in a portfolio. Typically when trading the wheel, stocks with weekly options are preferred since they fetch higher premiums (percentage-wise)…
Read more of Using Genetic Algorithms to Efficiently Trade the Wheel (Python)
Finding Undervalued Sectors in the Stock Market
For an investor making investment decisions based on the underlying fundamentals of a company, i.e. fundamental analysis, finding companies to buy can be a daunting task. With ~3,600 publically listed companies in the United States…
Read more of Finding Undervalued Sectors in the Stock Market
Building Redundancy Into Data Gathering for My Stock Data API
In a previous post, I wrote about an API I have created to retrieve data for stocks belonging to the Russell 2000 and S&P 500 indexes. One glaringly obvious issue with the data-gathering techniques discussed…
Read more of Building Redundancy Into Data Gathering for My Stock Data API
Creating a Database with an API (Stock Price Data)
NOTE: because I live in Montana (and was too lazy to deal with time zones) the data stored in this database (therefore, the dates and times passed to the API endpoints) are recorded in Mountain…
Read more of Creating a Database with an API (Stock Price Data)
Improving GBM Stock Path Generation With Exponentially Weighted Statistics
In a recent post, I wrote about using Monte Carlo simulations to determine the likelihood of a stock option being profitable by generating multiple paths using Geometric Brownian Motion (GBM) and computing some statistics of…
Read more of Improving GBM Stock Path Generation With Exponentially Weighted Statistics