Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Latest commit

 

History

History
15 lines (13 loc) · 1.05 KB

README.md

File metadata and controls

15 lines (13 loc) · 1.05 KB

The straddle algo is a long-only nearest-tenor option buying algorithm that seeks to buy volatility. It is for educational purposes only, it is not suggested that you run this program, much less deploy it live. It will almost surely lose you money.

components:

  1. a model for triggering a buy signal based on specific parameters. Feel free to plug your own ML or non-ML model in and tweak the feature vector as needed.
  2. a database to log historical ATM options and underlying data every 0.25s for use by the program as well as future model training, as well as tracking open positions, trades, and buy signals.

Functionality:

  1. tracking of underlying price and straddle options data
  2. model input and handling
  3. order execution and handling
  4. concurrent position tracking (via multithreading)
  5. database logging of price and trade data
  6. automated program launch and shutdown (via chron/launchd)
  7. interact with interactive brokers API using IB-insync
  8. automated API connection using IBC