{"id":109769,"date":"2021-11-03T14:28:08","date_gmt":"2021-11-03T18:28:08","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=109769"},"modified":"2022-11-21T09:49:00","modified_gmt":"2022-11-21T14:49:00","slug":"price-action-trading-concepts-part-iv","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/","title":{"rendered":"Price Action Trading Concepts \u2013 Part IV"},"content":{"rendered":"\n<p><em>See&nbsp;<a href=\"\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-i\/\">Part I<\/a>&nbsp;for an overview of price action trading and the different types of charts, and <a href=\"\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-ii\/\">Part II<\/a>&nbsp;&amp; <a href=\"\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iii\/\">Part III<\/a> to get insight on the concept of support and resistance.<\/em><\/p>\n\n\n\n<p>Next, we will plot and compare the normal close price graph with the smoothened close price graph.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2021\/11\/normal-vs-smoothened-close-price-quantinsti.png\" alt=\"\" class=\"wp-image-109772 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><em>Normal vs Smoothened close price of asset<\/em><\/p>\n\n\n\n<p>To identify the local minima and local maxima points we have created two functions namely: the pythg() function and the loc_min_max() function.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Pythagoras function to calculate distance between two points\ndef pythg(pt1, pt2):\n    a_sq = (pt2&#91;0] - pt1&#91;0]) ** 2\n    b_sq = (pt2&#91;1] - pt1&#91;1]) ** 2\n    return sqrt(a_sq + b_sq)\n\n# Function to calculate Local minima and maxima points\ndef loc_min_max(points):\n    loc_minima = &#91;]\n    loc_maxima = &#91;]\n    prev_pts = &#91;(0, points&#91;0]), (1, points&#91;1])]\n    for i in range(1, len(points) - 1):\n        append_to = ''\n        if points&#91;i-1] &gt; points&#91;i] &lt; points&#91;i+1]:\n            append_to = \u2018min\u2019\n        elif points&#91;i-1] &lt; points&#91;i] &gt; points&#91;i+1]:\n            append_to = \u2018max'\n        if append_to:\n            if loc_minima or loc_maxima:\n                prev_distance = pythg(prev_pts&#91;0], prev_pts&#91;1]) * 0.5\n                curr_distance = pythg(prev_pts&#91;1], (i, points&#91;i]))\n                if curr_distance &gt;= prev_distance:\n                   prev_pts&#91;0] = prev_pts&#91;1]\n                   prev_pts&#91;1] = (i, points&#91;i])\n                   if append_to == \u2018min\u2019:\n                       loc_minima.append((i, points&#91;i]))\n                   else:\n                       loc_maxima.append((i, points&#91;i]))\n\n            else:\n                prev_pts&#91;0] = prev_pts&#91;1]\n                prev_pts&#91;1] = (i, points&#91;i])\n                if append_to == \u2018min\u2019:\n                    loc_minima.append((i, points&#91;i]))\n                else:\n                    loc_maxima.append((i, points&#91;i]))\n\n    return loc_minima, loc_maxima<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><a href=\"https:\/\/gist.github.com\/quantra-go-algo\/1d147a2c76ac51ef13856a3df13cae78#file-minima-maxima-py\" target=\"_blank\" rel=\"noreferrer noopener\">Minima maxima.py&nbsp;<\/a>hosted with \u2764 by&nbsp;<a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a><\/code><\/pre>\n\n\n\n<p>The loc_min_max() function loops through all the points ranging from index 1 to -1.<\/p>\n\n\n\n<p>If any given point is smaller than the previous point and the next point, it is a local minima. Similarly, if a point is greater than the previous point and next point, it is termed a local maxima.<\/p>\n\n\n\n<p>You will notice that we may have many local minima and local maxima points if we follow the above logic. To avoid encountering this problem, we have defined the pythg() function. We use the pythg() function to compute the distance between the current point and the previous point along with the distance between the current point and the next point.<\/p>\n\n\n\n<p>We select a point as a local minima or local maxima only if the distance between the current point and the next point is greater than half the distance between the current and previous points.<\/p>\n\n\n\n<p>The following is the plotted result of the local minima and maxima points computed using the above functions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2021\/11\/local-minima-maxima-points-quantinsti.png\" alt=\"\" class=\"wp-image-109776 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><em>Local minima and maxima points<\/em><\/p>\n\n\n\n<p>In the next step, we will try to identify all potential support and resistance lines.<\/p>\n\n\n\n<p><em>For additional insight on this topic visit QuantInsti blog:&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/price-action-trading\/\">https:\/\/blog.quantinsti.com\/price-action-trading\/<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.<\/p>\n","protected":false},"author":689,"featured_media":28581,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,343,349,338,350,341,344],"tags":[806,865,10588,10589,595,1291],"contributors-categories":[13654],"class_list":{"0":"post-109769","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-programing-languages","9":"category-python-development","10":"category-ibkr-quant-news","11":"category-quant-asia-pacific","12":"category-quant-development","13":"category-quant-regions","14":"tag-data-science","15":"tag-github","16":"tag-minima-maxima-py","17":"tag-pythagoras-function","18":"tag-python","19":"tag-technical-analysis","20":"contributors-categories-quantinsti"},"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>Price Action Trading Concepts \u2013 Part IV | IBKR Quant<\/title>\n<meta name=\"description\" content=\"Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.\" \/>\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\/109769\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Price Action Trading Concepts \u2013 Part IV | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-03T18:28:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T14:49:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kevin Patrao\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kevin Patrao\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 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:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Kevin Patrao\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/68e55b62ba4d9056240fe5ec50a0e68a\"\n\t            },\n\t            \"headline\": \"Price Action Trading Concepts \u2013 Part IV\",\n\t            \"datePublished\": \"2021-11-03T18:28:08+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:49:00+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/\"\n\t            },\n\t            \"wordCount\": 290,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/12\\\/python-gears.jpg\",\n\t            \"keywords\": [\n\t                \"Data Science\",\n\t                \"GitHub\",\n\t                \"Minima maxima.py\",\n\t                \"Pythagoras function\",\n\t                \"Python\",\n\t                \"technical analysis\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\",\n\t                \"Quant Asia Pacific\",\n\t                \"Quant Development\",\n\t                \"Quant Regions\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/\",\n\t            \"name\": \"Price Action Trading Concepts \u2013 Part IV | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/12\\\/python-gears.jpg\",\n\t            \"datePublished\": \"2021-11-03T18:28:08+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:49:00+00:00\",\n\t            \"description\": \"Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/price-action-trading-concepts-part-iv\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/12\\\/python-gears.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/12\\\/python-gears.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 540,\n\t            \"caption\": \"Python\"\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\\\/68e55b62ba4d9056240fe5ec50a0e68a\",\n\t            \"name\": \"Kevin Patrao\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/kevinpatrao\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Price Action Trading Concepts \u2013 Part IV | IBKR Quant","description":"Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.","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\/109769\/","og_locale":"en_US","og_type":"article","og_title":"Price Action Trading Concepts \u2013 Part IV | IBKR Quant Blog","og_description":"Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/","og_site_name":"IBKR Campus US","article_published_time":"2021-11-03T18:28:08+00:00","article_modified_time":"2022-11-21T14:49:00+00:00","og_image":[{"width":900,"height":540,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg","type":"image\/jpeg"}],"author":"Kevin Patrao","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kevin Patrao","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/"},"author":{"name":"Kevin Patrao","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/68e55b62ba4d9056240fe5ec50a0e68a"},"headline":"Price Action Trading Concepts \u2013 Part IV","datePublished":"2021-11-03T18:28:08+00:00","dateModified":"2022-11-21T14:49:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/"},"wordCount":290,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg","keywords":["Data Science","GitHub","Minima maxima.py","Pythagoras function","Python","technical analysis"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Asia Pacific","Quant Development","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/","name":"Price Action Trading Concepts \u2013 Part IV | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg","datePublished":"2021-11-03T18:28:08+00:00","dateModified":"2022-11-21T14:49:00+00:00","description":"Kevin Patrao demonstrates how to plot and compare the normal close price graph with the smoothened close price graph.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/price-action-trading-concepts-part-iv\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg","width":900,"height":540,"caption":"Python"},{"@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\/68e55b62ba4d9056240fe5ec50a0e68a","name":"Kevin Patrao","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/kevinpatrao\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/12\/python-gears.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/109769","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\/689"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=109769"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/109769\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/28581"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=109769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=109769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=109769"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=109769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}