The secret to optimizing a covered call strategy is locating the best calls to sell. One might have a large number of stocks to play with, at one time I was using 70 stocks, and each option chain has dozens or hundreds of options [expiration dates and strike prices]. 70 stocks might have over 7,000 possibilities and one only wants less than a half dozen. Clearly eyeballing the option chains is not a viable solution. At first I was using spreadsheets to evaluate individual option chains and that was a big help but limited to evaluating only a few stocks.
The next step was adding a Covered Call Selector to my Portfolio Web App. That was a huge improvement, yields increased dramatically.
Earlier this week I evaluated 19 stocks [19 option chains] and the default setting reduced it to just 371 calls. By adjusting the selection parameters one zooms in on the best candidates. After some fiddling the selection was down to 4 stocks. As you can see in the screen dump above, there is a Select button on the right side of the table. It transfers the chosen candidates [just 4] to the next screen which I called X-ref [donāt ask me why]
It has the same format as the Covered Call Selector. Initially it did not have the bottom row with the totals which I added earlier this week. I used this screen to transfer the data to a spreadsheet for the final selection ā reduce the number of options to match the cash available to buy the shares. As with all spreadsheet work, cumbersome, error prone, and time consuming. The aim is to reduce the number of contracts.
HTML5 lets one edit the tables using JavaScript. No sense in reinventing the wheel, I went in search of the required codeā¦
The next step was finding a way to access the output cells and I found nothing usable! Darn! So I went to sleep on it. Experience has taught me not to bang my head against the problem, let sleep deal with it. I found a solution and tested it this morning. It works [add IDs to the cells] then the problem is reduced to quite common JavaScript code which is what comes next. Stay tuned!
The Captain