{"id":420,"date":"2023-04-29T15:39:37","date_gmt":"2023-04-29T20:39:37","guid":{"rendered":"https:\/\/www.jmjatlanta.com\/?p=420"},"modified":"2023-04-29T15:40:58","modified_gmt":"2023-04-29T20:40:58","slug":"the-interactive-brokers-api-and-ib_helper","status":"publish","type":"post","link":"https:\/\/www.jmjatlanta.com\/index.php\/2023\/04\/29\/the-interactive-brokers-api-and-ib_helper\/","title":{"rendered":"The Interactive Brokers API and ib_helper"},"content":{"rendered":"\n<p>I often build trading systems for users of Interactive Brokers. Rather than build the common utilities over and over, I have developed a small &#8220;toolbox&#8221; that contains what I often need. I have decided to make this toolbox available to the open source community (MIT licensed), in the hopes that others may decide to contribute.<\/p>\n\n\n\n<p>This library has two main purposes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provide simple interfaces for the simple things. This lessens the need to implement EWrapper functions that do not apply, but categorizes them for easy implementation.<\/li>\n\n\n\n<li>Provide a testing framework. Google Test is used to build tests, and a &#8220;Mock&#8221; connector mimics IB TWS to allow for building unit and integration tests. With little effort, you could even build backtests of strategies.<\/li>\n<\/ul>\n\n\n\n<p>Please <a href=\"https:\/\/github.com\/jmjatlanta\/ib_helper\" data-type=\"URL\" data-id=\"https:\/\/github.com\/jmjatlanta\/ib_helper\" target=\"_blank\" rel=\"noreferrer noopener\">check it out<\/a>. Feel free to add issues and pull requests. Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I often build trading systems for users of Interactive Brokers. Rather than build the common utilities over and over, I have developed a small &#8220;toolbox&#8221; that contains what I often need. I have decided to make this toolbox available to the open source community (MIT licensed), in the hopes that others may decide to contribute. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-420","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts\/420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/comments?post=420"}],"version-history":[{"count":2,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts\/420\/revisions"}],"predecessor-version":[{"id":422,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts\/420\/revisions\/422"}],"wp:attachment":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/media?parent=420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/categories?post=420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/tags?post=420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}