{"id":259061,"date":"2026-10-15T11:33:24","date_gmt":"2026-10-15T15:33:24","guid":{"rendered":"https:\/\/ibkrcampus.com\/campus\/?p=259061"},"modified":"2026-10-15T11:36:12","modified_gmt":"2026-10-15T15:36:12","slug":"python-api-for-interactive-brokers","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/","title":{"rendered":"Python API for Interactive Brokers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>The article &#8220;Python API for Interactive Brokers&#8221; was originally published on <a href=\"https:\/\/ibridgepy.com\/blog\/python-api-for-interactive-brokers\/\">IBridgePy<\/a> blog.<\/em><\/p>\n\n\n\n<h3 id=\"h-what-is-the-python-api-interactive-brokers\" class=\"wp-block-heading\">What Is the Python API Interactive Brokers?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks to the <strong>Python API Interactive Brokers<\/strong> integration, you can trade automatically with Python code. In technical terms, it is a protocol for exchanging data with Interactive Broker&#8217;s (IB) servers and special software applications. By acting as a bridge, the API permits the receipt of real-time or archived data, the transmission of orders from scripts or customized software, and many other useful applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s likely that if you&#8217;re reading this blog, you&#8217;ve already researched Interactive Brokers (IB) and found that it has great online reviews. The broker is well-known for its extensive marketplace selection and affordable commission rates. Visit <a href=\"https:\/\/www.interactivebrokers.com\/\" target=\"_blank\" rel=\"noopener\">Interactive Brokers<\/a> for more information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What You Can Do with the Python API Interactive Brokers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">By becoming proficient with the native Python API, you can improve the circumstances. You can accomplish a few of the following tasks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Independent Trading<\/strong> \u2013 Whether you&#8217;re looking for a fully automated solution or something more manageable, the API offers a starting point for connecting your automation scripts with Interactive Brokers.<\/li>\n\n\n\n<li><strong>Build a Customized Trading Terminal<\/strong> \u2013 Interactive Brokers offers a great and feature-rich TWS. If you would prefer a different method of executing trades, the API can be used to quickly create a custom terminal.<\/li>\n\n\n\n<li><strong>Assemble Historical Data<\/strong> \u2013 Access to historical data is a prerequisite for the majority of automated trading systems. IB offers streaming data and generous API rate limits.<\/li>\n\n\n\n<li><strong>Create Custom Indicators<\/strong> \u2013 TWS&#8217;s common, widely-used built-in technical indicators make it easy to get started. However, if you want to make your own unique indicators, the API is your best bet. Python&#8217;s extensive library system is another advantage. If you&#8217;re interested in machine learning or sentiment analysis, for example, the API offers a way to connect to amazing Python libraries covering these topics.<\/li>\n\n\n\n<li><strong>Personalized Alerts and Notifications<\/strong> \u2013 Do you need an alert that TWS cannot deliver? There&#8217;s a good chance you&#8217;ll be successful using Python.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Official API vs. Third-Party Libraries<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The IB Python native API was officially developed and is maintained by Interactive Brokers. This ensures that there will be no errors and a steady connection to the IB servers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In contrast, code wrappers and libraries such as IBridgePy and IbPy are not officially supported by IB because they were developed by third parties.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">IB-insync is a widely used third-party framework. It uses asynchronous methods of communication with the native API to increase efficiency. It also simplifies the process of obtaining data via the API.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Set Up the IB Native Python API<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are easy steps to setting up a connection to the Interactive Brokers&#8217; Python API:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create an account with IB; they offer top-notch test demo accounts. If you decide to connect to a live account, TWS offers a read-only option for the API, which is useful for first-time testing and learning.<\/li>\n\n\n\n<li>Download the native Python API for IB. It is now simpler to connect to and interact with IB&#8217;s server-linked client thanks to these Python script files.<\/li>\n\n\n\n<li>Install TWS or the IB Gateway client. You may already be familiar with Interactive Brokers&#8217; standard trading client, TWS. An alternative is to use the Interactive Brokers Gateway client. Using TWS is a good idea when first testing your script because it provides visible proof of any activity on your account. It&#8217;s easy to switch to the Gateway later on.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Get Started with Python Trading<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Interactive Brokers Python API opens up powerful possibilities for automated trading, data analysis, and custom tool development. Whether you are a beginner or an experienced trader, Python provides the flexibility you need to build sophisticated trading systems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Visit <em><a href=\"https:\/\/ibridgepy.com\/blog\/python-api-for-interactive-brokers\/\">IBridgePy<\/a> <\/em>blog for additional insights on Python.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>The author of this article and the open source package IBridgePy are not affiliated with Interactive Brokers.&nbsp;<\/strong><\/em><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Already an Interactive Brokers Client?<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/ndcdyn.interactivebrokers.com\/mkt\/?src=quantASynchTWSAPIRTP&amp;url=%2Fsso%2Fresolver%3Faction%3DAccountSettings%26config%3DTradingPermissions\" target=\"_blank\" rel=\"noreferrer noopener\">Request Trading Permissions<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>New to Interactive Brokers?<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/ndcdyn.interactivebrokers.com\/mkt\/?src=quantASynchTWSAPIAcc&amp;url=%2FUniversal%2FApplication\" target=\"_blank\" rel=\"noreferrer noopener\">Open Account<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Interactive Brokers offers a great and feature-rich TWS<\/p>\n","protected":false},"author":186,"featured_media":182059,"comment_status":"open","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[339,343,349,338,341],"tags":[851,22260,575,22259,14687,595],"contributors-categories":[16524],"class_list":["post-259061","post","type-post","status-publish","format-standard","has-post-thumbnail","category-data-science","category-programing-languages","category-python-development","category-ibkr-quant-news","category-quant-development","tag-algo-trading","tag-ib-insync","tag-ibkr-api","tag-ibpy","tag-ibridgepy","tag-python","contributors-categories-ibridgepy"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v28.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python API for Interactive Brokers | IBKR Quant<\/title>\n<meta name=\"description\" content=\"Interactive Brokers offers a great and feature-rich TWS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/259061\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python API for Interactive Brokers\" \/>\n<meta property=\"og:description\" content=\"Interactive Brokers offers a great and feature-rich TWS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-15T15:33:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-15T15:36:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Contributor Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Contributor Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Contributor Author\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e823e46b42ca381080387e794318a485\"\n\t            },\n\t            \"headline\": \"Python API for Interactive Brokers\",\n\t            \"datePublished\": \"2026-10-15T15:33:24+00:00\",\n\t            \"dateModified\": \"2026-10-15T15:36:12+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/\"\n\t            },\n\t            \"wordCount\": 665,\n\t            \"commentCount\": 0,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/python-blue-dots-opaque.jpg\",\n\t            \"keywords\": [\n\t                \"Algo Trading\",\n\t                \"IB-insync\",\n\t                \"IBKR API\",\n\t                \"IbPy\",\n\t                \"IBridgePy\",\n\t                \"Python\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\",\n\t                \"Quant Development\"\n\t            ],\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"CommentAction\",\n\t                    \"name\": \"Comment\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/#respond\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/\",\n\t            \"name\": \"Python API for Interactive Brokers | IBKR Campus US\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/python-blue-dots-opaque.jpg\",\n\t            \"datePublished\": \"2026-10-15T15:33:24+00:00\",\n\t            \"dateModified\": \"2026-10-15T15:36:12+00:00\",\n\t            \"description\": \"Interactive Brokers offers a great and feature-rich TWS.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/ibkr-quant-news\\\/python-api-for-interactive-brokers\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/python-blue-dots-opaque.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/python-blue-dots-opaque.jpg\",\n\t            \"width\": 1000,\n\t            \"height\": 563,\n\t            \"caption\": \"PySpark \u2013 A Beginner's Guide to Apache Spark and Big Data\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e823e46b42ca381080387e794318a485\",\n\t            \"name\": \"Contributor Author\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/contributor-author\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python API for Interactive Brokers | IBKR Quant","description":"Interactive Brokers offers a great and feature-rich TWS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/259061\/","og_locale":"en_US","og_type":"article","og_title":"Python API for Interactive Brokers","og_description":"Interactive Brokers offers a great and feature-rich TWS.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/","og_site_name":"IBKR Campus US","article_published_time":"2026-10-15T15:33:24+00:00","article_modified_time":"2026-10-15T15:36:12+00:00","og_image":[{"width":1000,"height":563,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg","type":"image\/jpeg"}],"author":"Contributor Author","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Contributor Author","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/#article","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/"},"author":{"name":"Contributor Author","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e823e46b42ca381080387e794318a485"},"headline":"Python API for Interactive Brokers","datePublished":"2026-10-15T15:33:24+00:00","dateModified":"2026-10-15T15:36:12+00:00","mainEntityOfPage":{"@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/"},"wordCount":665,"commentCount":0,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg","keywords":["Algo Trading","IB-insync","IBKR API","IbPy","IBridgePy","Python"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/","url":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/","name":"Python API for Interactive Brokers | IBKR Campus US","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/#primaryimage"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg","datePublished":"2026-10-15T15:33:24+00:00","dateModified":"2026-10-15T15:36:12+00:00","description":"Interactive Brokers offers a great and feature-rich TWS.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/ibkr-quant-news\/python-api-for-interactive-brokers\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg","width":1000,"height":563,"caption":"PySpark \u2013 A Beginner's Guide to Apache Spark and Big Data"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e823e46b42ca381080387e794318a485","name":"Contributor Author","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/contributor-author\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/python-blue-dots-opaque.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/259061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/186"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=259061"}],"version-history":[{"count":7,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/259061\/revisions"}],"predecessor-version":[{"id":259073,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/259061\/revisions\/259073"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/182059"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=259061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=259061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=259061"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=259061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}