About this template
Using Larry Rupp's template for inspiration and following some of the instructions from his "Simple Stock Trader" template thread I was able to create a "Simple Options Trader" bot. Would love feedback on it.
The idea here is that when I receive a trade alert I can easily open OA, click on the Open Position button, enter in the ticker, expiration, strike, amount, and price and then leverage OA smart pricing to open the position at the best price. Then use the monitor to set a stop loss @ 50%, do a 10% trailing stop once it reaches 30% gain, or if it has less than one day left until expiration go ahead and close the position. I also added a "lotto" tag to the logic so i can tag specific positions as "lotto", basically bypassing the "one day left" closing logic.
Version 2:
I split out the "Open Position" button into 2 different buttons, either "Open Call" or "Open Put". I also added the ability to add either "lotto" tag or "tight" tag and have different stop loss, target gain, and trailing stop percentages for each type of trade.