Category Archives: JavaScript

Create a bot to sell covered calls every month in 23 lines of JavaScript

A Covered Call is a common option strategy that is used to enhance a long stock position. In simple terms, it allows an investor to sell a portion of the unlimited upside in a stock position for cash each month. I almost always prefer covered calls to naked stock because it provides some downside protection (via cost basis reduction) and it allows 

Tasty Condor – a bot that collects monthly premium trading Iron Condor spreads on SPY

Earlier this week we introduced a new build of the Alta5 platform with additional support for option strategies, including Iron Condor spreads. Iron Condor is a popular delta neutral strategy used by professional money managers and individual investors to collect monthly premium and slowly profit from Theta (time decay). In this article, I will walk you through my process to build a bot that trades an Iron Condor on 

Introducing the Bittman Algorithm

This is a repost of an article recently published on the blog for my new startup, Alta5. Our platform enables investors to automate stock and options trading strategies using JavaScript. In 2012 Jim Bittman, Director of Program Development and a Senior Instructor for The Options Institute at CBOE, gave a presentation that outlined a 2-step strategy