{"id":22368,"date":"2022-04-23T12:00:17","date_gmt":"2022-04-23T10:00:17","guid":{"rendered":"https:\/\/raulbartolome.com\/?p=22368"},"modified":"2025-08-30T00:01:54","modified_gmt":"2025-08-29T22:01:54","slug":"pairs-trading-algorithm","status":"publish","type":"post","link":"https:\/\/raulbartolome.com\/es\/pairs-trading-algorithm\/","title":{"rendered":"Algoritmos de comercio de pares y de compra y retenci\u00f3n"},"content":{"rendered":"\n<p>Pairs trading is an established trading strategy for hedge funds and alike. It is a relatively simple trading strategy that presents two distinctive phases. First, it identifies pairs of securities that are related using one year of historical data. Second, it trades for six months the underlaying securities of the pairs whenever the spread of the pairs exceeds certain value, usually two times the historical standard deviation.<\/p>\n\n\n\n<p>In my latest manuscript I conduct an empirical research of pairs trading algorithm to study its behaviour and fundamental characteristics. Likewise, I compare the results with the standard benchmarking Buy-and-hold strategy using SPY contact.<\/p>\n\n\n\n<p>I use QuantConnect as the trading platform for the evaluation of the algorithms. I do up to 272 simulations of each algorithm with the support of various scripts in Phyton, which helps in the automation process of data acquisition and data processing. <\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div data-block-name=\"woocommerce\/handpicked-products\" data-columns=\"1\" data-content-visibility=\"{&quot;title&quot;:true,&quot;price&quot;:false,&quot;rating&quot;:true,&quot;button&quot;:false}\" data-edit-mode=\"false\" data-products=\"[22359]\" class=\"wc-block-grid wp-block-handpicked-products wp-block-woocommerce-handpicked-products wc-block-handpicked-products has-1-columns has-multiple-rows\"><ul class=\"wc-block-grid__products\"><li class=\"wc-block-grid__product\">\n\t\t\t\t<a href=\"https:\/\/raulbartolome.com\/es\/producto\/pairs-trading-and-buy-and-hold-algorithms-performance-and-characteristics\/\" class=\"wc-block-grid__product-link\">\n\t\t\t\t\t\n\t\t\t\t\t<div class=\"wc-block-grid__product-image\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/4_Translating_Research_into_Practice_Web_Cover-300x300.png\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Pairs Trading and Buy-and-hold Algorithms: Performance and Characteristics\" srcset=\"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/4_Translating_Research_into_Practice_Web_Cover-300x300.png 300w, https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/4_Translating_Research_into_Practice_Web_Cover-100x100.png 100w, https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/4_Translating_Research_into_Practice_Web_Cover-150x150.png 150w, https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/4_Translating_Research_into_Practice_Web_Cover-600x600.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/div>\n\t\t\t\t\t<div class=\"wc-block-grid__product-title\">Pairs Trading and Buy-and-hold Algorithms: Performance and Characteristics<\/div>\n\t\t\t\t<\/a>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/li><\/ul><\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>You can find the complete study in the download section. I find particularly interesting the conclusions for retail and institutional investors:<\/p>\n\n\n\n<p>Retails investor might find little benefit of pairs trading and buy-and-hold might be better solution thanks to higher returns and consistency. However, astute investors might try to obtain the benefit of both algorithm by switching from buy-and-hold to pairs trading in times of turbulent markets using VIX as fear indicator. Institutional investors can include pair trading in the pallet of algorithm; the market neutrality, low volatility, and good performance during disruptive markets are attractive characteristics. Nevertheless, it is not advisable to use pairs trading as standalone strangely but a combination with other trading algorithms.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>El comercio de pares es una estrategia comercial establecida para fondos de cobertura y similares. Es una estrategia comercial relativamente simple que presenta dos fases distintivas. Primero, identifica pares de valores que est\u00e1n relacionados utilizando un a\u00f1o de datos hist\u00f3ricos. En segundo lugar, negocia durante seis meses los valores subyacentes de los pares siempre que el margen de los pares exceda cierto valor, generalmente dos veces la desviaci\u00f3n est\u00e1ndar hist\u00f3rica.<br \/>\nEn mi \u00faltimo manuscrito, realizo una investigaci\u00f3n emp\u00edrica del algoritmo de comercio de pares para estudiar su comportamiento y caracter\u00edsticas fundamentales. Asimismo, comparo los resultados con la estrategia est\u00e1ndar de Benchmarking Buy-and-hold usando contacto SPY.<br \/>\nEncuentro especialmente interesantes las conclusiones para inversores minoristas e institucionales<\/p>","protected":false},"author":1,"featured_media":22372,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"enable","ocean_disable_heading":"enable","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"background-image","ocean_post_title_background_color":"","ocean_post_title_background":22372,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","osh_disable_topbar_sticky":"default","osh_disable_header_sticky":"default","osh_sticky_header_style":"default","osh_sticky_header_effect":"","osh_custom_sticky_logo":0,"osh_custom_retina_sticky_logo":0,"osh_custom_sticky_logo_height":0,"osh_background_color":"","osh_links_color":"","osh_links_hover_color":"","osh_links_active_color":"","osh_links_bg_color":"","osh_links_hover_bg_color":"","osh_links_active_bg_color":"","osh_menu_social_links_color":"","osh_menu_social_hover_links_color":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[913,439,438],"tags":[881,880,882,879],"class_list":["post-22368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-finance","category-software-and-it","tag-buy-and-hold-algorithm","tag-pairs-trading","tag-quantconnect","tag-trading-algorithm","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-section","has-no-thumbnails"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pairs Trading and Buy-and-Hold Trading Algorithms - Ra\u00fal Bartolom\u00e9<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/raulbartolome.com\/es\/pairs-trading-algorithm\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pairs Trading and Buy-and-Hold Trading Algorithms - Ra\u00fal Bartolom\u00e9\" \/>\n<meta property=\"og:description\" content=\"Pairs trading is an established trading strategy for hedge funds and alike. It is a relatively simple trading strategy that presents two distinctive phases. First, it identifies pairs of securities that are related using one year of historical data. Second, it trades for six months the underlaying securities of the pairs whenever the spread of the pairs exceeds certain value, usually two times the historical standard deviation. In my latest manuscript I conduct an empirical research of pairs trading algorithm to study its behaviour and fundamental characteristics. Likewise, I compare the results with the standard benchmarking Buy-and-hold strategy using SPY contact. I find particularly interesting the conclusions for retail and institutional investors\" \/>\n<meta property=\"og:url\" content=\"https:\/\/raulbartolome.com\/es\/pairs-trading-algorithm\/\" \/>\n<meta property=\"og:site_name\" content=\"Ra\u00fal Bartolom\u00e9\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rbartolomecastro\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rbartolomecastro\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-23T10:00:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-29T22:01:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/stock-market-gfac806030_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ra\u00fal Bartolom\u00e9\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@raulbartolome\" \/>\n<meta name=\"twitter:site\" content=\"@raulbartolome\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ra\u00fal Bartolom\u00e9\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/\"},\"author\":{\"name\":\"Ra\u00fal Bartolom\u00e9\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/#\\\/schema\\\/person\\\/728a70a0ee01a96dc17e5dd8c5f8e95e\"},\"headline\":\"Pairs Trading and Buy-and-Hold Trading Algorithms\",\"datePublished\":\"2022-04-23T10:00:17+00:00\",\"dateModified\":\"2025-08-29T22:01:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/\"},\"wordCount\":263,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/#\\\/schema\\\/person\\\/728a70a0ee01a96dc17e5dd8c5f8e95e\"},\"image\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/stock-market-gfac806030_1920.jpg\",\"keywords\":[\"Buy-and-hold algorithm\",\"Pairs Trading\",\"QuantConnect\",\"Trading Algorithm\"],\"articleSection\":[\"Articles\",\"Finance\",\"Software and IT\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/\",\"url\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/\",\"name\":\"Pairs Trading and Buy-and-Hold Trading Algorithms - Ra\u00fal Bartolom\u00e9\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/stock-market-gfac806030_1920.jpg\",\"datePublished\":\"2022-04-23T10:00:17+00:00\",\"dateModified\":\"2025-08-29T22:01:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/stock-market-gfac806030_1920.jpg\",\"contentUrl\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/stock-market-gfac806030_1920.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/pairs-trading-algorithm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ra\u00fal Bartolom\u00e9\",\"item\":\"https:\\\/\\\/raulbartolome.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/raulbartolome.com\\\/category\\\/articles\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Finance\",\"item\":\"https:\\\/\\\/raulbartolome.com\\\/category\\\/articles\\\/finance\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pairs Trading and Buy-and-Hold Trading Algorithms\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/#website\",\"url\":\"https:\\\/\\\/raulbartolome.com\\\/\",\"name\":\"Ra\u00fal Bartolom\u00e9\",\"description\":\"Engineering, Management and Finance\",\"publisher\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/#\\\/schema\\\/person\\\/728a70a0ee01a96dc17e5dd8c5f8e95e\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/raulbartolome.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/#\\\/schema\\\/person\\\/728a70a0ee01a96dc17e5dd8c5f8e95e\",\"name\":\"Ra\u00fal Bartolom\u00e9\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Raul-Bartolome-IMG_1090-2.jpeg\",\"url\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Raul-Bartolome-IMG_1090-2.jpeg\",\"contentUrl\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Raul-Bartolome-IMG_1090-2.jpeg\",\"width\":640,\"height\":640,\"caption\":\"Ra\u00fal Bartolom\u00e9\"},\"logo\":{\"@id\":\"https:\\\/\\\/raulbartolome.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Raul-Bartolome-IMG_1090-2.jpeg\"},\"sameAs\":[\"https:\\\/\\\/raulbartolome.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/rbartolomecastro\",\"https:\\\/\\\/www.instagram.com\\\/rbartolomec\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rbartolomecastro\",\"https:\\\/\\\/x.com\\\/raulbartolome\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCY7Pef7CeZf-8t9ALthQRqA\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Algoritmos de trading de pares y de compra y retenci\u00f3n - Ra\u00fal Bartolom\u00e9","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:\/\/raulbartolome.com\/es\/pairs-trading-algorithm\/","og_locale":"es_ES","og_type":"article","og_title":"Pairs Trading and Buy-and-Hold Trading Algorithms - Ra\u00fal Bartolom\u00e9","og_description":"Pairs trading is an established trading strategy for hedge funds and alike. It is a relatively simple trading strategy that presents two distinctive phases. First, it identifies pairs of securities that are related using one year of historical data. Second, it trades for six months the underlaying securities of the pairs whenever the spread of the pairs exceeds certain value, usually two times the historical standard deviation. In my latest manuscript I conduct an empirical research of pairs trading algorithm to study its behaviour and fundamental characteristics. Likewise, I compare the results with the standard benchmarking Buy-and-hold strategy using SPY contact. I find particularly interesting the conclusions for retail and institutional investors","og_url":"https:\/\/raulbartolome.com\/es\/pairs-trading-algorithm\/","og_site_name":"Ra\u00fal Bartolom\u00e9","article_publisher":"https:\/\/www.facebook.com\/rbartolomecastro","article_author":"https:\/\/www.facebook.com\/rbartolomecastro","article_published_time":"2022-04-23T10:00:17+00:00","article_modified_time":"2025-08-29T22:01:54+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/stock-market-gfac806030_1920.jpg","type":"image\/jpeg"}],"author":"Ra\u00fal Bartolom\u00e9","twitter_card":"summary_large_image","twitter_creator":"@raulbartolome","twitter_site":"@raulbartolome","twitter_misc":{"Escrito por":"Ra\u00fal Bartolom\u00e9","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#article","isPartOf":{"@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/"},"author":{"name":"Ra\u00fal Bartolom\u00e9","@id":"https:\/\/raulbartolome.com\/#\/schema\/person\/728a70a0ee01a96dc17e5dd8c5f8e95e"},"headline":"Pairs Trading and Buy-and-Hold Trading Algorithms","datePublished":"2022-04-23T10:00:17+00:00","dateModified":"2025-08-29T22:01:54+00:00","mainEntityOfPage":{"@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/"},"wordCount":263,"commentCount":0,"publisher":{"@id":"https:\/\/raulbartolome.com\/#\/schema\/person\/728a70a0ee01a96dc17e5dd8c5f8e95e"},"image":{"@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#primaryimage"},"thumbnailUrl":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/stock-market-gfac806030_1920.jpg","keywords":["Buy-and-hold algorithm","Pairs Trading","QuantConnect","Trading Algorithm"],"articleSection":["Articles","Finance","Software and IT"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/","url":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/","name":"Algoritmos de trading de pares y de compra y retenci\u00f3n - Ra\u00fal Bartolom\u00e9","isPartOf":{"@id":"https:\/\/raulbartolome.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#primaryimage"},"image":{"@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#primaryimage"},"thumbnailUrl":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/stock-market-gfac806030_1920.jpg","datePublished":"2022-04-23T10:00:17+00:00","dateModified":"2025-08-29T22:01:54+00:00","breadcrumb":{"@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/raulbartolome.com\/pairs-trading-algorithm\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#primaryimage","url":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/stock-market-gfac806030_1920.jpg","contentUrl":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2022\/04\/stock-market-gfac806030_1920.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/raulbartolome.com\/pairs-trading-algorithm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ra\u00fal Bartolom\u00e9","item":"https:\/\/raulbartolome.com\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/raulbartolome.com\/category\/articles\/"},{"@type":"ListItem","position":3,"name":"Finance","item":"https:\/\/raulbartolome.com\/category\/articles\/finance\/"},{"@type":"ListItem","position":4,"name":"Pairs Trading and Buy-and-Hold Trading Algorithms"}]},{"@type":"WebSite","@id":"https:\/\/raulbartolome.com\/#website","url":"https:\/\/raulbartolome.com\/","name":"Ra\u00fal Bartolom\u00e9","description":"Ingenier\u00eda, Gesti\u00f3n y Finanzas","publisher":{"@id":"https:\/\/raulbartolome.com\/#\/schema\/person\/728a70a0ee01a96dc17e5dd8c5f8e95e"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/raulbartolome.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":["Person","Organization"],"@id":"https:\/\/raulbartolome.com\/#\/schema\/person\/728a70a0ee01a96dc17e5dd8c5f8e95e","name":"Ra\u00fal Bartolom\u00e9","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2020\/02\/Raul-Bartolome-IMG_1090-2.jpeg","url":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2020\/02\/Raul-Bartolome-IMG_1090-2.jpeg","contentUrl":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2020\/02\/Raul-Bartolome-IMG_1090-2.jpeg","width":640,"height":640,"caption":"Ra\u00fal Bartolom\u00e9"},"logo":{"@id":"https:\/\/raulbartolome.com\/wp-content\/uploads\/2020\/02\/Raul-Bartolome-IMG_1090-2.jpeg"},"sameAs":["https:\/\/raulbartolome.com\/","https:\/\/www.facebook.com\/rbartolomecastro","https:\/\/www.instagram.com\/rbartolomec\/","https:\/\/www.linkedin.com\/in\/rbartolomecastro","https:\/\/x.com\/raulbartolome","https:\/\/www.youtube.com\/channel\/UCY7Pef7CeZf-8t9ALthQRqA\/"]}]}},"_links":{"self":[{"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/posts\/22368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/comments?post=22368"}],"version-history":[{"count":1,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/posts\/22368\/revisions"}],"predecessor-version":[{"id":22920,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/posts\/22368\/revisions\/22920"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/media\/22372"}],"wp:attachment":[{"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/media?parent=22368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/categories?post=22368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raulbartolome.com\/es\/wp-json\/wp\/v2\/tags?post=22368"}],"curies":[{"name":"gracias","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}