Lately I’ve been working on creating a report on my trading in my portfolio that I can run using a Jupyter notebook. The code is written in Python.
The purpose of the report is to give me a summary of my portfolio, and how much I have positioned in various stock options. It’s broken down by the different tickers, option types, expiration dates, so on and so forth.
The purpose of the report is to make it easier for me to see where I’m positioned in the market. This allows me to make better decisions I’m sure that I am following those trading rules that I said set forth for myself.
Hedging
One part of hedging is that you need to make sure positions are balanced out in some manner. If the market moves significantly to one side or the other, you want to reduce the significance of the adverse effect on your portfolio. That much is known.
What ratio, type of option, days till expiration of option, and so on and so forth have to be figured out. That’s what I’m working on doing right now. That’s why I created the report. I want to be able to analyze past trades based on the different criteria. I also would like to apply different machine learning techniques to the material down the road. So that’s what I’ve been working on.