{"id":176005,"date":"2021-04-28T19:45:00","date_gmt":"2021-04-28T23:45:00","guid":{"rendered":"https:\/\/ibkrcampus.com\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/"},"modified":"2023-04-25T20:51:42","modified_gmt":"2023-04-26T00:51:42","slug":"diagnosing-issues-and-troubleshooting-with-the-tws-api","status":"publish","type":"trading-lessons","link":"https:\/\/www.interactivebrokers.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/","title":{"rendered":"Diagnosing Issues and Troubleshooting with the TWS API"},"content":{"rendered":"<p>It is important to remember that the TWS API is an interface or an extension of TWS and IB Gateway. When troubleshooting issues with the Excel samples or other API applications, it is important to check the corresponding TWS functions. The TWS can be used as a reference for the expected behavior of the API application, or to check if a legitimate issue stems from the TWS itself.&nbsp; Additionally, when working with API applications, it is important to monitor error messages and gather diagnostics files and logs. These topics will all be covered in this video.<\/p>\n<p><strong>Example Case<\/strong><\/p>\n<p>Say you are requesting:<\/p>\n<ul>\n<li>Historical data via the Excel DDE sample.<\/li>\n<li>In row 12, we are requesting historical 1 day bars for IBKR.<\/li>\n<li>The endDateTime is 20200909 23:59:59.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-4530 lazyload\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/01\/sample3.png\" alt=\"\" width=\"960\" height=\"435\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 960px; aspect-ratio: 960\/435;\"><\/p>\n<p>With these parameters, you may assume that the last daily bar returned would have a time stamp of <strong>20200907<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"half wp-image-4531 size-full aligncenter lazyload\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/11\/sample4.png\" alt=\"\" width=\"695\" height=\"230\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 695px; aspect-ratio: 695\/230;\"><\/p>\n<p>However, the timestamp of the last bar is \u201c20200904\u201d.To check why the response is not what\u2019s expected, we can review the corresponding TWS function. In this case, the API historical bars function corresponds to TWS bar charts.<\/p>\n<p>In our shifted graph, locate the bar with date 202009. Then, let\u2019s count 3 day bars going back starting with 20200909.<br \/>\nIn a TWS chart, if we try to count 3 bars at this date, the last bar is also 20200904 and there is no bar for 0907.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4532 lazyload\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/11\/sample5.png\" alt=\"\" width=\"640\" height=\"538\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 640px; aspect-ratio: 640\/538;\"><br \/>\nYou have now confirmed the TWS shows the same results. To take it a step further and see if this is expected TWS behavior, you could check the IBKR trading schedule and found that trading was closed on 0907.<\/p>\n<p><strong>Error messages and Notifications<\/strong><\/p>\n<p>When an API function does not produce the expected results, the first thing to check for are error messages. Whenever a request is made to TWS by the API, some sort of response is usually expected, whether it is account management, market data, or an error message. Although there can be an issue that causes the TWS to never return a response to the API, it is fairly uncommon.<\/p>\n<p>The API returns error messages via the error callback function. As with most callback functions, each message has a \u201creqId\u201d or request Id associated with it. This ID will allow you to associate the error with a specific request, whether it be a placed order, a request for market data, etc.<\/p>\n<p>Let\u2019s go back to our first scenario where we were requesting historical data for IBKR via the DDE sample.<br \/>\nNow, let\u2019s intentionally send an incorrect request.<\/p>\n<ul>\n<li>Here we will add an \u201cR\u201d to the end of the symbol to make the symbol invalid.<\/li>\n<li>No new output page was created, and if we scroll to column Z, there is an error.<\/li>\n<li>The error code is 200.<\/li>\n<li>This error indicates there is something wrong with our contract, in this case the symbol.<\/li>\n<li>An ID number associated with this historical data request and error is listed in column X.<\/li>\n<li>To see a list of most error messages and a description of what they indicate, go to the <a href=\"https:\/\/interactivebrokers.github.io\/tws-api\/error_handling.html\" target=\"_blank\" rel=\"noopener\">errors documentation page<\/a> in Github.<\/li>\n<li>As a final note, when moving on to build custom API spreadsheets and applications, error messages will be essential as well in order to create a robust program that can respond to different situations.<\/li>\n<li>See our documentation on \u201c<a href=\"https:\/\/interactivebrokers.github.io\/tws-api\/automated_considerations.html\" target=\"_blank\" rel=\"noopener\">Considerations for Automated Systems<\/a>\u201d for further information.<\/li>\n<\/ul>\n<p><strong>Log files and Diagnostics<\/strong><\/p>\n<ul>\n<li>If you are not able to find the source of an issue by checking the TWS or reviewing the received error messages, the next step is to gather log files and diagnostics for review. <strong>Advanced logging must enabled in the API settings<\/strong>.<\/li>\n<li>Go to <strong>File, Global Configuration,API, Settings<\/strong>.<\/li>\n<li>Check the box \u201c<strong>create API message log file<\/strong>.\u201d This will create a separate log file, only recording API messages.<\/li>\n<li>Then, set the <strong>logging level<\/strong> to \u201cDetail.\u201d This will allow the TWS to record detailed API messages in its logs.<\/li>\n<li>Also, you may check the box \u201c<strong>Include market data in API log file<\/strong>\u201d if you are troubleshooting issues involving market<br \/>\ndata figures.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-4533 lazyload\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/01\/sample7.png\" alt=\"\" width=\"835\" height=\"540\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 835px; aspect-ratio: 835\/540;\"><br \/>\nNow let\u2019s click on Apply and Ok, and advanced API logging is enabled from this point forward.<\/p>\n<p>After an issue occurs, the log files can be reviewed by either the client or an API support representative.<\/p>\n<ul>\n<li>A client may view their logs by going to the menu Account, Diagnostics, then choose either the TWS logs or the API logs.<\/li>\n<li>Choose a date and export the logs to a directory. Logs are saved as text files.<\/li>\n<li>To upload logs for review with an IBKR client services representative, press the keyboard combination Ctrl-Alt-Q in TWS or IB Gateway, or go to the <strong>Help menu<\/strong> and <strong>Upload Diagnostics<\/strong>.<\/li>\n<li>Then in the Upload Diagnostics window, press Submit.<\/li>\n<li>The TWS and API logs can be a bit complex, especially the TWS logs.<\/li>\n<\/ul>\n<p>However, an important concept in the API logs is that a left arrow indicates an outbound message or request being sent from the API to TWS, and a right arrow is a message being returned by TWS to the API.<\/p>\n<p>This covers the major concepts of issue diagnosing and troubleshooting. IBKR support representatives can help with further questions.<br \/>\nPlease note that the API can help troubleshoot issues and review log files, however it cannot provide programming assistance or troubleshoot local operating system issues.<\/p>\n<p>The topics discussed here are also documented in our <a href=\"https:\/\/interactivebrokers.github.io\/tws-api\/support.html\" target=\"_blank\" rel=\"noopener\">API support page<\/a>.<\/p>\n<h4>Additional Links<\/h4>\n<p><a href=\"https:\/\/interactivebrokers.github.io\/tws-api\/support.html\" target=\"_blank\" rel=\"noopener\">Troubleshooting and Support<\/a><\/p>\n<p><a href=\"https:\/\/interactivebrokers.github.io\/tws-api\/error_handling.html\" target=\"_blank\" rel=\"noopener\">Error Handling<\/a><\/p>\n<p><a href=\"https:\/\/interactivebrokers.com\/en\/index.php?f=1560\" target=\"_blank\" rel=\"noopener\">Contact Us<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here, we will go over how to diagnose and troubleshoot some common issues.<\/p>\n","protected":false},"author":851,"featured_media":181018,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"contributors-categories":[13576],"traders-academy":[13125,13128,13132],"class_list":{"0":"post-176005","1":"trading-lessons","2":"type-trading-lessons","3":"status-publish","4":"has-post-thumbnail","6":"contributors-categories-interactive-brokers","7":"traders-academy-beginner-trading","8":"traders-academy-level","9":"traders-academy-trading-lesson"},"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 v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Archives | Traders&#039; Academy | IBKR Campus<\/title>\n<meta name=\"description\" content=\"Diagnose and troubleshoot some common Excel API issues.\" \/>\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\/trading-lessons\/176005\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Diagnosing Issues and Troubleshooting with the TWS API\" \/>\n<meta property=\"og:description\" content=\"Diagnose and troubleshoot some common Excel API issues.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-26T00:51:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/04\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Diagnosing Issues and Troubleshooting with the TWS API\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 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\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/\",\n\t            \"name\": \"Diagnosing Issues and Troubleshooting with the TWS API\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/04\\\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg\",\n\t            \"datePublished\": \"2021-04-28T23:45:00+00:00\",\n\t            \"dateModified\": \"2023-04-26T00:51:42+00:00\",\n\t            \"description\": \"Diagnose and troubleshoot some common Excel API issues.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/#breadcrumb\"\n\t            },\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/\"\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\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/04\\\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2021\\\/04\\\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg\",\n\t            \"width\": 1280,\n\t            \"height\": 720,\n\t            \"caption\": \"Diagnosing Issues and Troubleshooting with the TWS API\"\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/diagnosing-issues-and-troubleshooting-with-the-tws-api\\\/#breadcrumb\",\n\t            \"itemListElement\": [\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 1,\n\t                    \"name\": \"Academy Lessons\",\n\t                    \"item\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/trading-lessons\\\/\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 2,\n\t                    \"name\": \"Diagnosing Issues and Troubleshooting with the TWS API\"\n\t                }\n\t            ]\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}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Archives | Traders' Academy | IBKR Campus","description":"Diagnose and troubleshoot some common Excel API issues.","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\/trading-lessons\/176005\/","og_locale":"en_US","og_type":"article","og_title":"Diagnosing Issues and Troubleshooting with the TWS API","og_description":"Diagnose and troubleshoot some common Excel API issues.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/","og_site_name":"IBKR Campus US","article_modified_time":"2023-04-26T00:51:42+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/04\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"Diagnosing Issues and Troubleshooting with the TWS API","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/","url":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/","name":"Diagnosing Issues and Troubleshooting with the TWS API","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/#primaryimage"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/04\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg","datePublished":"2021-04-28T23:45:00+00:00","dateModified":"2023-04-26T00:51:42+00:00","description":"Diagnose and troubleshoot some common Excel API issues.","breadcrumb":{"@id":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/04\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2021\/04\/Thumbnail-Diagnosing-Issues-and-Troubleshooting-with-the-TWS-API.jpg","width":1280,"height":720,"caption":"Diagnosing Issues and Troubleshooting with the TWS API"},{"@type":"BreadcrumbList","@id":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/diagnosing-issues-and-troubleshooting-with-the-tws-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Academy Lessons","item":"https:\/\/ibkrcampus.com\/campus\/trading-lessons\/"},{"@type":"ListItem","position":2,"name":"Diagnosing Issues and Troubleshooting with the TWS API"}]},{"@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\/"}]}},"_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/trading-lessons\/176005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/trading-lessons"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/trading-lessons"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/851"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=176005"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/trading-lessons\/176005\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/181018"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=176005"}],"wp:term":[{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=176005"},{"taxonomy":"traders-academy","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/traders-academy?post=176005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}