Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

backtesting and algotrading options using Interactive Brokers API (native python api)

NotificationsYou must be signed in to change notification settings

AlexShakaev/backtesting_and_algotrading_options_with_Interactive_Brokers_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is an example of backtesting and automating options trading strategy with native Interactive Brokers python API (ibapi).Bot buys call spread on SPY when close price > sma, exits after 5 days or when abrupt downtrend is detected with bayesian change point detection algorithm (BOCD).

dependencies

  • Interactive Brokers account with market data subscriptions
  • ibapi package 10.22
  • TWS or IB Gateway
  • python 3.9 or later
  • pyqstrat

usage

  • start tws and open 'trades' tab
  • launch main.py file after market opens

Live trading demo

About

backtesting and algotrading options using Interactive Brokers API (native python api)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp