[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-126852-en":3,"doc-seo-126852-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},126852,1099523882367,"Hazel","https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc",8,"Research & Report","Optimal Linear Signal - An Unsupervised Machine Learning Framework to Optimize PnL with Linear Signals","An unsupervised machine learning framework optimizes Profit and Loss (PnL) in quantitative finance by learning a linear trading signal from exogenous variables. The approach uses a linear relationship between variables and the signal, and another linear link between PnL and the signal, enabling a parameterization of PnL. Parameters are optimized to maximize the empirical Sharpe Ratio, with regularization to reduce overfitting. An application to an ETF tracking U.S. Treasury bonds demonstrates effectiveness, and the study outlines further extensions such as generalized time steps and improved corrective terms.","Optimal Linear Signal: An Unsupervised Machine Learning Framework to Optimize PnL with Linear Signals.  \nPierre RENUCCI  \nOct.-Nov. 2023  \narXiv :2401 .05337v1 [ q-fin . ST] 22 Nov 2023  \nAbstract  \nThis study presents an unsupervised machine learning approach for optimizing Profit and Loss (PnL) in quantitative finance. Our algorithm, akin to an unsupervised variant of linear regression, maximizes the Sharpe Ratio of PnL generated from signals constructed linearly from exogenous variables.  \nThe methodology employs a linear relationship between exogenous variables and the trading signal, with the objective of maximizing the Sharpe Ratio through parameter optimization. Empirical application on an ETF representing U.S. Treasury bonds demonstrates the model’s effectiveness, supported by regularization techniques to mitigate overfitting. The study concludes with potential avenues for further development, including generalized time steps and enhanced corrective terms.  \nThe code of the model and the empiric strategy are available on my GitHub: Cnernc/OptimalLinearSignal  \nIntroduction  \nIn the field of quantitative finance, the creation of signals to generate Profit and Loss (PnL) is a key component. Our initial objective was to find a simple unsupervised machine learning (ML) algorithm capable of exploiting a set of exogenous variables to produce a PnL-effective signal. We observed that the literature in quantitative finance largely favors supervised ML approaches, aiming to predict specific financial magnitudes, such as asset prices, as highlighted in the works of Johnson (2023) [1], Rouf et al.  \n[2], Soni et al. (2022) [3], and Kumar et al. (2022) [4] .  \nThere are also unsupervised techniques, as presented by Kelly and Xiu (2023) [5], and Hoang and Wiegratz (2023) [6] . However, these methods are very specific and lack the versatility to be used as general tools, specifically for small dataset. An exception in this category is the generation of signals via Principal Component Analysis (PCA), as explained by Ghorbani and Chong (2020) [7] . Nevertheless, this technique offers little flexibility and does not allow for the explicit optimization of specific criteria within the PnL.  \nWe therefore turned our attention to the literature on optimization in finance, with studies such as those by Jurczenko et al. (2019) [8], Huang et al. (2019) [9], and Cornu´ejols et al. (2017, 2018) [10] [11], Reppen et al. (2022) [12], primarily focusing on portfolio optimization. However, these works are more concerned with optimizing portfolios than signal creation.  \nAs a result, we decided to construct our own algorithm, developing an unsupervised counterpart to linear regression aimed at optimizing the Sharpe Ratio of a PnL. The model is based on two hypotheses of linearity: the linearity of the relationship between the exogenous variables and the signal; and the linearity of the relationship between the PnL and the signal. Using these, we can deduce a parametric representation of the PnL. We sought to optimize these parameters to maximize the Sharpe Ratio of the obtained PnL.  \nThe optimal parameters are calculated over a certain training period and are then used to generate the signal subsequently. Other techniques, mainly regularization and correction of this signal, are then addressed and ultimately enable the creation of a very effective strategy on a backtest of about twenty years.  \n\n| Executive Summary\u003Cbr>• We consider an asset with a specific price series pricet and a set of stationary and homoscedastic variables X1,t, X2,t , ..., Xn,t.\u003Cbr>• The objective is to derive the ’optimal’ linear signal extracted from this variable. We work under two linear assumptions:\u003Cbr>– We will consider the signal as a linear combination of the exogenous variables:\u003Cbr>signalt = α0 + α1 X1,t + α2 X2,t + ... + αnXn,t\u003Cbr>– At each time step t, the positions taken is proportional to both the signal and the price post = pricet × signalt (a negative value would","cbCairCrCC9VuRWs","https://ap.wps.com/l/cbCairCrCC9VuRWs","pdf",1639662,1,10,"English","en",105,"# Introduction\n## Methodology: linear hypotheses and PnL parametrization\n## Optimization objective: maximizing the Sharpe ratio\n## Regularization, correction, and strategy construction\n## Empirical application on an ETF\n## Conclusion and future work","[{\"question\":\"What is the main goal of the Optimal Linear Signal framework?\",\"answer\":\"It aims to optimize Profit and Loss (PnL) by learning an unsupervised linear trading signal and maximizing the PnL Sharpe Ratio.\"},{\"question\":\"How does the model connect exogenous variables to the trading signal and PnL?\",\"answer\":\"It assumes a linear signal as a combination of exogenous variables and uses a proportional position rule to derive a linear expression of PnL in terms of transformed variables.\"},{\"question\":\"How is the model validated in the empirical study?\",\"answer\":\"It is backtested on an ETF representing U.S. Treasury bonds (1-3 year maturities), where the strategy achieves an effective Sharpe ratio of about 1.2 over 2000-2023, supported by regularization to limit overfitting.\"}]","Optimal Linear Signal - An Unsupervised Machine Learning Framework to Optimize PnL with Linear Signals | PDF",1785935235,25,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"optimal-linear-signal-an-unsupervised-machine-learning-framework-to-optimize-pnl-with-linear-signals","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/optimal-linear-signal-an-unsupervised-machine-learning-framework-to-optimize-pnl-with-linear-signals/126852/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-05",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is the main goal of the Optimal Linear Signal framework?","Question",{"text":75,"@type":76},"It aims to optimize Profit and Loss (PnL) by learning an unsupervised linear trading signal and maximizing the PnL Sharpe Ratio.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does the model connect exogenous variables to the trading signal and PnL?",{"text":80,"@type":76},"It assumes a linear signal as a combination of exogenous variables and uses a proportional position rule to derive a linear expression of PnL in terms of transformed variables.",{"name":82,"@type":73,"acceptedAnswer":83},"How is the model validated in the empirical study?",{"text":84,"@type":76},"It is backtested on an ETF representing U.S. Treasury bonds (1-3 year maturities), where the strategy achieves an effective Sharpe ratio of about 1.2 over 2000-2023, supported by regularization to limit overfitting.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":21,"slug":133},"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]