{"title":"Onflow: a model free, online portfolio allocation algorithm robust to transaction fees","authors":"Gabriel Turinici, Pierre Brugiere","doi":"10.1007/s10436-026-00480-5","DOIUrl":null,"url":null,"abstract":"<div><p>We introduce Onflow, a reinforcement learning method for optimizing portfolio allocation via gradient flows. Our approach dynamically adjusts portfolio allocations to maximize expected log returns while accounting for transaction costs. Using a softmax parameterization, Onflow updates allocations through an ordinary differential equation derived from gradient flow methods. This algorithm belongs to the large class of stochastic optimization procedures; we measure its efficiency by comparing our results to the mathematical theoretical values in a log-normal framework and to standard benchmarks from the ’old NYSE’ dataset. For log-normal assets with zero transaction costs, Onflow replicates Markowitz optimal portfolio, achieving the best possible allocation. Numerical experiments from the ’old NYSE’ dataset show that Onflow leads to dynamic asset allocation strategies whose performances are: a) comparable to benchmark strategies such as Cover’s Universal Portfolio or Helmbold et al. “multiplicative updates” approach when transaction costs are zero, and b) better than previous procedures when transaction costs are high. Onflow can even remain efficient in regimes where other dynamical allocation techniques do not work anymore. Onflow is a promising portfolio management strategy that relies solely on observed prices, requiring no assumptions about asset return distributions. This makes it robust against model risk, offering a practical solution for real-world trading strategies.</p></div>","PeriodicalId":45289,"journal":{"name":"Annals of Finance","volume":"22 1","pages":""},"PeriodicalIF":1.1000,"publicationDate":"2026-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annals of Finance","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1007/s10436-026-00480-5","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"BUSINESS, FINANCE","Score":null,"Total":0}
引用次数: 0
Abstract
We introduce Onflow, a reinforcement learning method for optimizing portfolio allocation via gradient flows. Our approach dynamically adjusts portfolio allocations to maximize expected log returns while accounting for transaction costs. Using a softmax parameterization, Onflow updates allocations through an ordinary differential equation derived from gradient flow methods. This algorithm belongs to the large class of stochastic optimization procedures; we measure its efficiency by comparing our results to the mathematical theoretical values in a log-normal framework and to standard benchmarks from the ’old NYSE’ dataset. For log-normal assets with zero transaction costs, Onflow replicates Markowitz optimal portfolio, achieving the best possible allocation. Numerical experiments from the ’old NYSE’ dataset show that Onflow leads to dynamic asset allocation strategies whose performances are: a) comparable to benchmark strategies such as Cover’s Universal Portfolio or Helmbold et al. “multiplicative updates” approach when transaction costs are zero, and b) better than previous procedures when transaction costs are high. Onflow can even remain efficient in regimes where other dynamical allocation techniques do not work anymore. Onflow is a promising portfolio management strategy that relies solely on observed prices, requiring no assumptions about asset return distributions. This makes it robust against model risk, offering a practical solution for real-world trading strategies.
期刊介绍:
Annals of Finance provides an outlet for original research in all areas of finance and its applications to other disciplines having a clear and substantive link to the general theme of finance. In particular, innovative research papers of moderate length of the highest quality in all scientific areas that are motivated by the analysis of financial problems will be considered. Annals of Finance''s scope encompasses - but is not limited to - the following areas: accounting and finance, asset pricing, banking and finance, capital markets and finance, computational finance, corporate finance, derivatives, dynamical and chaotic systems in finance, economics and finance, empirical finance, experimental finance, finance and the theory of the firm, financial econometrics, financial institutions, mathematical finance, money and finance, portfolio analysis, regulation, stochastic analysis and finance, stock market analysis, systemic risk and financial stability. Annals of Finance also publishes special issues on any topic in finance and its applications of current interest. A small section, entitled finance notes, will be devoted solely to publishing short articles – up to ten pages in length, of substantial interest in finance. Officially cited as: Ann Finance