Simple Python 3.6 Script that automatically selects Short Iron Condors with optimal Risk/Reward Ratios and returns. Useful tool in combination with Financial Time Series Analytics and ML to select spreads with high confidence.
Download bestcondor.zip from repo page. Extract and cd into folder.
Type: python runcondor.py
and enjoy!
truncate_strikes(optionStrikes, stockPrice)
get_strikes(tickerData)
generateSpreads(OTMStrikes)
generateIronCondor(spreads)
outputCondors(ironCondors, ticker, expDate)
- Truncate extraneous Call/Put Strikes
- Format Option Chain with specific Expiry Date
- Format Calls/Puts with favorable ProbExpiryOTM
- Functional Bear Call/Bull Put Spread Generation
- Functional Iron Condor Generation
- Output Optimal Short IC's