An automatic trading strategy for the Colombian government bonds in R
2020
The objective of this work is to make advances in the execution of an algorithm that performs a trading strategy, based on the academic support of the classic portfolio theory, macroeconomic theory of economic policy and some precepts of implementation with financial machine learning (ML) applications. Regarding ML, despite the fact that there are several authors, this work is based on the techniques and advances that have emerged from the studies of the author Marcos Lopez de Prado, since it is well known not only in the academic field, but also in investment industry. These characteristics make the methodological development of this work be applied to the related data, which is real data from the Colombian market, public debt bonds hereafter referred TES. The advances in ML by Professor Lopez de Prado will serve as a point of reference to backtest a very simple trading strategy, but looking beyond, the work will serve to leave a guide on how to implement through steps the development of an algorithm that performs any strategy, taking into account each stage for its later execution. El objetivo de este trabajo es avanzar en la ejecución de un algoritmo que realiza un trading estrategia, basada en el apoyo académico de la teoría clásica de la cartera, la teoría macroeconómica de política económica y algunos preceptos de implementación con aprendizaje automático financiero (ML) aplicaciones. En cuanto al LA, a pesar de que hay varios autores, este trabajo se basa en las técnicas y avances que han surgido de los estudios del autor Marcos López de Prado, ya que es bien conocido no solo en el campo académico, sino también en la industria de inversiones. Estas características hacen que El desarrollo metodológico de este trabajo se aplicará a los datos relacionados, que son datos reales del Mercado colombiano, bonos de deuda pública en adelante denominados TES. Los avances en ML por el profesor López de Prado servirá como punto de referencia para backtesting de una estrategia comercial muy simple, pero mirando más allá, El trabajo servirá para dejar una guía sobre cómo implementar por pasos el desarrollo de un algoritmo. que realiza cualquier estrategia, teniendo en cuenta cada etapa para su posterior ejecución.