{"id":70,"date":"2019-07-31T22:07:11","date_gmt":"2019-07-31T22:07:11","guid":{"rendered":"http:\/\/algotrading101.com\/learn\/?p=70"},"modified":"2020-06-24T17:16:41","modified_gmt":"2020-06-24T17:16:41","slug":"what-is-overfitting-in-trading","status":"publish","type":"post","link":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/","title":{"rendered":"What is Overfitting in Trading?"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_70\" class=\"pvc_stats total_only  \" data-element-id=\"70\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"510\" height=\"268\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/overfitting-comics.jpg\" alt=\"\" class=\"wp-image-91\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/overfitting-comics.jpg 510w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/overfitting-comics-300x158.jpg 300w\" sizes=\"(max-width: 510px) 100vw, 510px\" \/><figcaption><a href=\"https:\/\/towardsdatascience.com\/three-crazily-simple-recipes-to-fight-overfitting-in-deep-learning-models-314ae7660495\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Source<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>What is overfitting in trading? <strong>Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future. <\/strong><\/p>\n\n\n\n<p>Overfitting (AKA curve fitting) your strategy gives you false confidence that your strategy will be profitable. In fact, if you overfit your backtests well enough, you might produce strategies that seemingly make thousands of percent per year.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do we overfit?<\/h2>\n\n\n\n<p>We overfit by adapting our strategies to noise instead of signals. <\/p>\n\n\n\n<p>Signals are useful fundamental information. Noise are distractions that don&#8217;t offer useful qualities.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"356\" src=\"http:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/Chart-view-of-curve-fitting-1024x356.png\" alt=\"Overfitting in trading\" class=\"wp-image-74\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/Chart-view-of-curve-fitting-1024x356.png 1024w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/Chart-view-of-curve-fitting-300x104.png 300w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/Chart-view-of-curve-fitting-768x267.png 768w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/Chart-view-of-curve-fitting.png 1125w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Figure 1: Overfitting data points on a chart<\/figcaption><\/figure>\n\n\n\n<p>In figure 1, we have 3 charts with the same data. We are trying to create a model that fits the shape of the data.  This model will be used to predict future data points. <\/p>\n\n\n\n<p>We can clearly see that the data forms a U shape. This U shape is our signal.  <\/p>\n\n\n\n<p>In the leftmost chart, our model is a straight line. This is not representative of the data at all. It will have poor predictive abilities. We describe this model as an underfitted model.<\/p>\n\n\n\n<p>In the rightmost chart, our model intercepts every data point. This model fits the data perfectly. On paper, this seems like the perfect model. <\/p>\n\n\n\n<p>And it is, if we are not using it to predict the future. <\/p>\n\n\n\n<p>You see, unless future data points follow the past perfectly, this model will have very poor predictive value. This is an overfitted model.<\/p>\n\n\n\n<p> In the middle chart, our model describes the general shape of the data points. This model does have some level of error \u2013 it does not intercept all the data points. <\/p>\n\n\n\n<p>However, this is fine. We need our models to have a certain degree of error. This means that the model does not rigidly follow the past. <\/p>\n\n\n\n<p>This model captures the signal in the data (signal refers to the U-shaped data points). Thus, it should be able to adapt to minor changes to the data structure in future. <\/p>\n\n\n\n<p>This model is a good fit aka it is robust. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is overfitting bad?<\/h3>\n\n\n\n<p>The short answer is, yes.<\/p>\n\n\n\n<p>The past does not predict the future perfectly, especially in financial markets.<\/p>\n\n\n\n<p>Adapting strategies too closely to past data will result in an inflexibility to adapt to the future. Hence, it leads to poor performance in the future.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do we reduce overfitting?<\/h3>\n\n\n\n<p>Design strategies that exploit fundamental inefficiencies that make sense from a market or economic point of view. <\/p>\n\n\n\n<p>Examples of fundamental inefficiencies:<\/p>\n\n\n\n<ul><li>Tracking live credit card expenditure data to see if Amazon\u2019s sales will be up or down for the quarter.<\/li><li>Gold futures on one exchange is trading at a cheaper price than gold futures from another exchange. Buy the cheaper one and sell it a higher price<\/li><\/ul>\n\n\n\n<p> Examples of FAKE inefficiencies: <\/p>\n\n\n\n<ul><li>Buying a currency just because a magic number from a technical indicator passes a certain value.<\/li><li>Buying a stock because the prices hit a level based on an arbitrary logic devised by a Mathematician who passed away 800 years ago.<\/li><\/ul>\n\n\n\n<p>Another way to reduce overfitting is by running out-of-sample optimisations. More info on that this post <a href=\"https:\/\/algotrading101.com\/learn\/what-is-walk-forward-optimization\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">&#8220;What is Walk Forward Optimization&#8221;<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Demonstrating Overfitting<\/h3>\n\n\n\n<p>Enough theory! Let\u2019s see some action! <\/p>\n\n\n\n<p>Let\u2019s curve fit some stuff on purpose. <\/p>\n\n\n\n<p>In this exercise, we will curve fit a basic trading robot we use in AlgoTrading101 called Belinda.<\/p>\n\n\n\n<p>Disclaimer: This is the WRONG way to conduct your&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/www.investopedia.com\/terms\/o\/optimization.asp\" target=\"_blank\">optimisation<\/a>. Do not try this at home!<\/p>\n\n\n\n<p><strong>Step 1:<\/strong><\/p>\n\n\n\n<p> We run an optimisation for Belinda by varying 3 variables: sma_short, sma_long and atr_period. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"420\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/1.png\" alt=\"\" class=\"wp-image-76\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/1.png 761w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/1-300x166.png 300w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Step 2:<\/strong><\/p>\n\n\n\n<p>We run the optimisation from 1<sup>st<\/sup>&nbsp;April 2014 to 1<sup>st<\/sup>&nbsp;January 2015.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"291\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/2.png\" alt=\"\" class=\"wp-image-77\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/2.png 566w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/2-300x154.png 300w\" sizes=\"(max-width: 566px) 100vw, 566px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Step 3:<\/strong><\/p>\n\n\n\n<p>We find the optimised parameter values aka the parameter values that produce the best objective function.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"549\" height=\"189\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/3.png\" alt=\"\" class=\"wp-image-78\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/3.png 549w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/3-300x103.png 300w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Step 4:<\/strong><\/p>\n\n\n\n<p>Using the optimised parameter values, we run a&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/www.investopedia.com\/terms\/b\/backtesting.asp\" target=\"_blank\">backtest<\/a>&nbsp;to see the performance and equity curve in detail. We use the same backtest dates as before: 1<sup>st<\/sup>&nbsp;April 2014 to 1<sup>st<\/sup>&nbsp;Jan 2015. We should expect to see a profit of $3,549.18.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"288\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/4.png\" alt=\"\" class=\"wp-image-79\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/4.png 596w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/4-300x145.png 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/figure><\/div>\n\n\n\n<p>Now we test Belinda with the optimised parameter values using data from the future. As mentioned, the future rarely reflects the past perfectly. Thus, we do not expect this backtest to be profitable.<\/p>\n\n\n\n<p>Let\u2019s run the backtest in the future period: 1<sup>st<\/sup>&nbsp;Jan 2015 to 1<sup>st<\/sup>&nbsp;Oct 2015 (the next 9 months after previous period).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"288\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/5.png\" alt=\"\" class=\"wp-image-80\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/5.png 597w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/5-300x145.png 300w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/figure><\/div>\n\n\n\n<p>What a disaster! (Unsurprisingly)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to manipulate backtest performance?<\/h3>\n\n\n\n<p>Let me show you something called performance manipulation. <\/p>\n\n\n\n<p>Occasionally, you may see some people selling trading robots over the web. They claim that their robots can make 100% returns overnight and manage to produce some backtest performance to demonstrate that.<\/p>\n\n\n\n<p>So, is their robot legitimate? Well, I have never bought such robots so I can\u2019t refute their claim. <\/p>\n\n\n\n<p>However, I might have some insights into how they produced such an &#8220;incredible&#8221; performance.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong><\/p>\n\n\n\n<p>Run an optimisation and find the parameter values that gives the best results. <\/p>\n\n\n\n<p><strong>Step 2:<\/strong><\/p>\n\n\n\n<p>Run a backtest using these parameter values and the same dates as used in the optimisation. <\/p>\n\n\n\n<p>The difference now is that we increase bet 20 times of what we did before!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"270\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/6.png\" alt=\"\" class=\"wp-image-84\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/6.png 594w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/6-300x136.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/figure><\/div>\n\n\n\n<p>\n\nLook at that performance! Did we just turn $10,000 into $269,086 over 9 months?!\n\n<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"165\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/7.png\" alt=\"\" class=\"wp-image-85\" srcset=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/7.png 457w, https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/7-300x108.png 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><\/figure><\/div>\n\n\n\n<p>Oops, it is not $269,086. We have just turned $10K into $2.5 million in 9 months! <\/p>\n\n\n\n<p>I\u2019m going to be a zillionaire!!! (And yes, zillionaire is a real word!) <\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_70\" class=\"pvc_stats total_only  \" data-element-id=\"70\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/algotrading101.com\/learn\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>What is overfitting in trading? Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future. Overfitting (AKA curve fitting) your strategy gives you false confidence that your strategy will be profitable. In fact, if you overfit your backtests well enough, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":91,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Overfitting in Trading? - AlgoTrading101 Blog<\/title>\n<meta name=\"description\" content=\"Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Overfitting in Trading? - AlgoTrading101 Blog\" \/>\n<meta property=\"og:description\" content=\"Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/\" \/>\n<meta property=\"og:site_name\" content=\"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-31T22:07:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-24T17:16:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/overfitting-comics.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"510\" \/>\n\t<meta property=\"og:image:height\" content=\"268\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Lucas Liew\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lucas Liew\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Overfitting in Trading? - AlgoTrading101 Blog","description":"Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future.","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:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/","og_locale":"en_US","og_type":"article","og_title":"What is Overfitting in Trading? - AlgoTrading101 Blog","og_description":"Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future.","og_url":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/","og_site_name":"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog","article_published_time":"2019-07-31T22:07:11+00:00","article_modified_time":"2020-06-24T17:16:41+00:00","og_image":[{"width":510,"height":268,"url":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2019\/07\/overfitting-comics.jpg","type":"image\/jpeg"}],"author":"Lucas Liew","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lucas Liew","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/#article","isPartOf":{"@id":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/"},"author":{"name":"Lucas Liew","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/16c5231891a13283bf75ad8fe5240e19"},"headline":"What is Overfitting in Trading?","datePublished":"2019-07-31T22:07:11+00:00","dateModified":"2020-06-24T17:16:41+00:00","mainEntityOfPage":{"@id":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/"},"wordCount":892,"publisher":{"@id":"https:\/\/algotrading101.com\/learn\/#organization"},"articleSection":["Trading"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/","url":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/","name":"What is Overfitting in Trading? - AlgoTrading101 Blog","isPartOf":{"@id":"https:\/\/algotrading101.com\/learn\/#website"},"datePublished":"2019-07-31T22:07:11+00:00","dateModified":"2020-06-24T17:16:41+00:00","description":"Overfitting in trading is the process of designing a trading system that adapts so closely to historical data that it becomes ineffective in the future.","breadcrumb":{"@id":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/algotrading101.com\/learn\/what-is-overfitting-in-trading\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/algotrading101.com\/learn\/"},{"@type":"ListItem","position":2,"name":"What is Overfitting in Trading?"}]},{"@type":"WebSite","@id":"https:\/\/algotrading101.com\/learn\/#website","url":"https:\/\/algotrading101.com\/learn\/","name":"Quantitative Trading Ideas and Guides - AlgoTrading101 Blog","description":"Authentic Stories about Algorithmic trading, coding and life.","publisher":{"@id":"https:\/\/algotrading101.com\/learn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/algotrading101.com\/learn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/algotrading101.com\/learn\/#organization","name":"AlgoTrading101","url":"https:\/\/algotrading101.com\/learn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/logo\/image\/","url":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/AlgoTrading101-Lucas-Liew.jpg","contentUrl":"https:\/\/algotrading101.com\/learn\/wp-content\/uploads\/2020\/11\/AlgoTrading101-Lucas-Liew.jpg","width":1200,"height":627,"caption":"AlgoTrading101"},"image":{"@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/16c5231891a13283bf75ad8fe5240e19","name":"Lucas Liew","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/algotrading101.com\/learn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a4da931db0e5587125985e7b134de8c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a4da931db0e5587125985e7b134de8c1?s=96&d=mm&r=g","caption":"Lucas Liew"},"description":"Founder at AlgoTrading101","sameAs":["https:\/\/algotrading101.com\/","https:\/\/www.linkedin.com\/in\/lucasliew"],"url":"https:\/\/algotrading101.com\/learn\/author\/learnadmin\/"}]}},"modified_by":"Lucas Liew","_links":{"self":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/70"}],"collection":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":12,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":1523,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/posts\/70\/revisions\/1523"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/media\/91"}],"wp:attachment":[{"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/algotrading101.com\/learn\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}