{"id":197823,"date":"2023-10-18T11:01:45","date_gmt":"2023-10-18T15:01:45","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=197823"},"modified":"2023-10-20T15:13:30","modified_gmt":"2023-10-20T19:13:30","slug":"algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/","title":{"rendered":"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>By Chainika Thakar, Viraj Bhagat &amp; Apoorva Singh<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders. The trader codes these strategies to use the processing capabilities of a computer for taking trades in a more efficient manner with no to minimum intervention.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let us find out more about&nbsp;<a href=\"https:\/\/www.quantinsti.com\/\">algo trading<\/a>&nbsp;strategies with this blog that covers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What are algorithmic trading strategies?<\/li>\n\n\n\n<li>Classification of algorithmic trading strategies, paradigms &amp; modelling ideas<\/li>\n\n\n\n<li>Momentum-based strategies<\/li>\n\n\n\n<li>Arbitrage<\/li>\n\n\n\n<li>Market making<\/li>\n\n\n\n<li>Machine Learning in trading<\/li>\n\n\n\n<li>Options trading and options trading strategies<\/li>\n\n\n\n<li>Building and implementing algorithmic trading strategies<\/li>\n\n\n\n<li>Steps to build algorithmic trading strategies<\/li>\n\n\n\n<li>Where are algo trading strategies used?<\/li>\n\n\n\n<li>How to learn algo trading strategies?<\/li>\n\n\n\n<li>FAQs about algorithmic trading strategies<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-algorithmic-trading-strategies\">What are algorithmic trading strategies?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cAlgorithmic trading\u201d is a term that may sound complicated but can be implemented easily if you have the dedication to learn and the grit for learning.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An algorithm is, basically, a set of instructions or rules for making the computer take a step on behalf of the programmer (the one who creates the algorithm). The programmer, in the trading domain, is the trader having knowledge of at least one of the computer programming languages known as C, C++, Java, Python etc.). Learn how&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/python-trading\/\">algorithmic trading uses python<\/a>&nbsp;to help develop sophisticated statistical models with ease.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This knowledge of programming language is required since the trader needs to code the set of instructions in the language that computer understands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In short, in trading, the set of instructions or rules is given to the computer (by the trader) to automate the execution of trade orders via the stock exchange with minimal human intervention. This is called&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/algorithmic-trading\/\">algorithmic trading<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Coming to \u201calgorithmic trading strategies\u201d, trading strategies are devised by a trader having knowledge of the financial market with regard to<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Entering the market (buying when the prices are favourable)<\/li>\n\n\n\n<li>Exiting the market (selling when the prices begin going way below expectations)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These strategies are coded as the programmed set of instructions to make way for favourable returns for the trader. The set of instructions to the computer is given in programming languages (such as C, C++, Java, Python). Following which, the computer can generate signals and take the trading position accordingly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before moving ahead, take a quick look at the&nbsp;<strong>15 most popular algo trading strategies<\/strong>, used by traders and investors to automate their trading decisions.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"classification-of-algorithmic-trading-strategies-paradigms-modelling-ideas\">Classification of algorithmic trading strategies, paradigms &amp; modelling ideas<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All the algorithmic trading strategies that are being used today can be classified broadly into the following categories:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Momentum-based strategies or&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/indicators-build-trend-following-strategy\/\">trend following strategy<\/a><\/li>\n\n\n\n<li>Arbitrage algorithmic trading strategies<\/li>\n\n\n\n<li>Market making algorithmic trading strategies<\/li>\n\n\n\n<li>Machine learning in trading<\/li>\n\n\n\n<li>Options trading and options trading strategies<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">We will be throwing some light on the strategy paradigms and modelling ideas pertaining to each algorithmic trading strategy below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"momentum-based-strategies-or-trend-following-algorithmic-trading-strategies\">Momentum-based strategies or trend-following algorithmic trading strategies<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Assume that there is a particular trend in the market. As an algo trader, you are following that trend.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Further to our assumption, the markets fall within the week. Now, you can use statistics to determine if this trend is going to continue. Or if it will change in the coming weeks. Accordingly, you will make your next move.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have based your algorithmic trading strategy on the market trends which you determined by using statistics.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This method of following trends is called&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/course\/momentum-trading-strategies\">momentum trading strategies<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are numerous ways to implement this algorithmic trading strategy and it has been discussed in detail in one of our previous articles called \u201c<a href=\"https:\/\/blog.quantinsti.com\/news-based-trading\/\">Methodology of Quantifying News for Automated Trading<\/a>\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Strategy paradigms of momentum-based strategies<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/blog.quantinsti.com\/quadratic-discriminant-analysis-optimize-intraday-momentum-strategy\/\">Momentum strategies<\/a>&nbsp;seek to profit from the continuance of the existing trend by taking advantage of market swings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cIn simple words, buy high and sell higher and vice versa.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And how do we achieve this?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Short-term positions: In this particular algorithmic trading strategy we will take short-term positions in stocks that are going up or down until they show signs of reversal. It is counter-intuitive to almost all other well-known strategies.<\/li>\n\n\n\n<li>Value Investing:&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/course\/Value-Strategy-Forex\">Value investing<\/a>&nbsp;is generally based on long-term reversion to mean whereas momentum investing is based on the gap in time before mean reversion occurs.<\/li>\n\n\n\n<li>Momentum: Momentum is chasing performance, but systematically by taking advantage of other performance chasers who are making emotional decisions.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Explanations:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are usually two explanations given for any strategy that have &nbsp;proven to work historically,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Either the strategy has compensated for the extra risk that it takes, or<\/li>\n\n\n\n<li>There are behavioural factors due to which premium exists.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why Momentum works?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is a long list of behavioral biases and emotional mistakes that investors exhibit due to which momentum works.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, this is easier said than done as trends don\u2019t last forever and can exhibit swift reversals when they peak and come to an end.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/blog.quantinsti.com\/momentum-trading-strategies\/\">Momentum trading<\/a>&nbsp;carries a higher degree of volatility than most other strategies and tries to capitalize on market volatility.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is important to time the buys and sells correctly to avoid losses by using proper risk management techniques and stop-losses. Momentum investing requires proper monitoring and appropriate diversification to safeguard against such severe crashes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Modelling ideas of momentum-based strategies<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, you should know how to detect price momentum or trends. As you are already into trading, you know that trends can be detected by following stocks and ETFs that have been continuously going up for days, weeks or even several months in a row.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For instance, identify the stocks trading within 10% of their 52-week high or look at the percentage price change over the last 12 or 24 weeks. Similarly to spot a shorter trend, include a shorter-term price change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For instance, back in 2008, the oil and energy sector was continuously ranked as one of the top sectors even while it was collapsing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Types of momentum trading strategies<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can also look at earnings to understand the movements in stock prices. Strategies based on either past returns (price momentum strategies) or earnings surprise (known as earnings momentum strategies) exploit market under-reaction to different pieces of information.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Earnings Momentum Strategies: An earnings momentum strategy may profit from the under-reaction to information related to short-term earnings.<\/li>\n\n\n\n<li>Price Momentum Strategies: A price momentum strategy may profit from the market\u2019s slow response to a broader set of information including longer-term profitability.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Take a look at &nbsp;useful read below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/blog.quantinsti.com\/quadratic-discriminant-analysis-optimize-intraday-momentum-strategy\/\">Using Quadratic Discriminant Analysis To Optimize An Intraday Momentum Strategy<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"arbitrage-algorithmic-trading-strategies\">Arbitrage algorithmic trading strategies<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s understand arbitrage with an example. If we assume that a pharma corp is to be bought by another company, then the stock price of that corp could go up.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is triggered by the acquisition which is a corporate event. If you are planning to invest based on the pricing inefficiencies that may happen during a corporate event (before or after), then you are using an&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/course\/event-driven-trading-strategies\">event-driven strategy<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bankruptcy, acquisition, merger, spin-offs etc. could be the event that drives such kind of an investment strategy. These arbitrage trading strategies can be market neutral and used by hedge funds and proprietary traders widely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Statistical arbitrage<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When an arbitrage opportunity arises because of misquoting in prices, it can be very advantageous to the algorithmic trading strategy. Although, such opportunities exist for a very short duration as the prices in the market get adjusted quickly. And that\u2019s why this is the best use of algorithmic trading strategies, as an automated machine can track such changes instantly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For instance, assume that each time that Apple\u2018s stock prices fall by $1, Microsoft\u2019s prices too fall by $0.5. Now, given the case that Microsoft has not fallen yet, you can go ahead and sell Microsoft to make a profit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Strategy paradigms of statistical arbitrage<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If market making is the strategy that makes use of the bid-ask spread,&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/statistical-arbitrage\/\">statistical arbitrage<\/a>&nbsp;seeks to profit from the statistical mispricing of one or more assets based on the expected value of these assets.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A more academic way to explain statistical arbitrage is to distribute the risk between a thousand to a few million trades in a very short holding span with the expectation of gaining profit from the law of large numbers. Statistical arbitrage Algorithms are based on the mean reversion hypothesis, mostly as a pair. You can enroll for our course on&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/course\/statistical-arbitrage-trading\">Statistical Arbitrage Trading<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Modelling ideas of statistical arbitrage<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/blog.quantinsti.com\/pairs-trading-basics\/\">Pairs trading<\/a>&nbsp;is one of the several strategies collectively referred to as Statistical Arbitrage Strategies. In a pairs trade strategy, stocks that exhibit historical co-movement in prices are paired using fundamental or market-based similarities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The strategy builds upon the notion that the relative prices in a market are in equilibrium, and that deviations from this equilibrium eventually will be corrected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When one stock outperforms the other, the outperformer is sold short and the other stock is bought long, with the expectation that the short-term diversion will end in convergence. This often hedges market risk from adverse market movements i.e. makes the strategy beta neutral.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the total market risk of a position depends on the amount of capital invested in each stock and the sensitivity of stocks to such risk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below, I have mentioned a useful read that you may like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/blog.quantinsti.com\/kalman-filter-techniques-statistical-arbitrage-china-futures-market-python\/\">Kalman Filter Techniques And Statistical Arbitrage In China\u2019s Futures Market In Pytho<\/a>n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Stay tuned for Part II to learn about other algorithmic trading strategies.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Originally posted on <a href=\"https:\/\/blog.quantinsti.com\/algorithmic-trading-strategies\/\">QuantInsti<\/a> blog.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.<\/p>\n","protected":false},"author":186,"featured_media":182676,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[345,346,343,349,338,341],"tags":[7257,7395,852,14363,595],"contributors-categories":[13654],"class_list":["post-197823","post","type-post","status-publish","format-standard","has-post-thumbnail","category-c-sharp-development","category-c-plusplus-development","category-programing-languages","category-python-development","category-ibkr-quant-news","category-quant-development","tag-algorithmic-trading","tag-arbitrage","tag-machine-learning","tag-momentum-based-strategies","tag-python","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 v28.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies<\/title>\n<meta name=\"description\" content=\"Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.\" \/>\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\/197823\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies | IBKR Campus US\" \/>\n<meta property=\"og:description\" content=\"Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-18T15:01:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-20T19:13:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/algorithmic-trading.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=\"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=\"7 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\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/\"\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\": \"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies\",\n\t            \"datePublished\": \"2023-10-18T15:01:45+00:00\",\n\t            \"dateModified\": \"2023-10-20T19:13:30+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/\"\n\t            },\n\t            \"wordCount\": 1589,\n\t            \"commentCount\": 9,\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\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/algorithmic-trading.jpg\",\n\t            \"keywords\": [\n\t                \"Algorithmic Trading\",\n\t                \"arbitrage\",\n\t                \"Machine Learning\",\n\t                \"momentum-based strategies\",\n\t                \"Python\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"C# Development\",\n\t                \"C++ Development\",\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:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/#respond\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/\",\n\t            \"name\": \"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies | IBKR Campus US\",\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\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/algorithmic-trading.jpg\",\n\t            \"datePublished\": \"2023-10-18T15:01:45+00:00\",\n\t            \"dateModified\": \"2023-10-20T19:13:30+00:00\",\n\t            \"description\": \"Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.\",\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\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/\"\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\\\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/algorithmic-trading.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/02\\\/algorithmic-trading.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 540,\n\t            \"caption\": \"How to Install and Configure TWS for the IBKR Python API\"\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":"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies","description":"Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.","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\/197823\/","og_locale":"en_US","og_type":"article","og_title":"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies | IBKR Campus US","og_description":"Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/","og_site_name":"IBKR Campus US","article_published_time":"2023-10-18T15:01:45+00:00","article_modified_time":"2023-10-20T19:13:30+00:00","og_image":[{"width":900,"height":540,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/algorithmic-trading.jpg","type":"image\/jpeg"}],"author":"Contributor Author","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Contributor Author","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/"},"author":{"name":"Contributor Author","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e823e46b42ca381080387e794318a485"},"headline":"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies","datePublished":"2023-10-18T15:01:45+00:00","dateModified":"2023-10-20T19:13:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/"},"wordCount":1589,"commentCount":9,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/algorithmic-trading.jpg","keywords":["Algorithmic Trading","arbitrage","Machine Learning","momentum-based strategies","Python"],"articleSection":["C# Development","C++ Development","Programming Languages","Python Development","Quant","Quant Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/","name":"Algorithmic Trading Strategies: Basics to Advanced Algo Trading Strategies | IBKR Campus US","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/algorithmic-trading.jpg","datePublished":"2023-10-18T15:01:45+00:00","dateModified":"2023-10-20T19:13:30+00:00","description":"Algorithmic trading strategies are simply strategies that are coded in a computer language such as Python for executing trade orders.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/algorithmic-trading-strategies-basics-to-advanced-algo-trading-strategies\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/algorithmic-trading.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/02\/algorithmic-trading.jpg","width":900,"height":540,"caption":"How to Install and Configure TWS for the IBKR Python 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\/"},{"@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\/algorithmic-trading.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/197823","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=197823"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/197823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/182676"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=197823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=197823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=197823"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=197823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}