arXiv · arXiv q-fin · 2024
Decentralized finance (DeFi) has revolutionized the financial landscape, with protocols like Uniswap offering innovative automated market-making mechanisms. This article explores the development of a backtesting framework specifically tailored for concentrated liquidity market makers (CLMM). The focus is on leveraging the liquidity distribution approximated using a parametric model, to estimate the rewards within liq…
Andrey Urusov, Rostislav Berezovskiy, Yury Yanovich
arXiv · arXiv q-fin · 2025
This study presents a comprehensive empirical comparison between quantum machine learning (QML) and classical machine learning (CML) approaches in Automated Market Makers (AMM) and Decentralized Finance (DeFi) trading strategies through extensive backtesting on 10 models across multiple cryptocurrency assets. Our analysis encompasses classical ML models (Random Forest, Gradient Boosting, Logistic Regression), pure qu…
Chi-Sheng Chen, Aidan Hung-Wen Tsai
arXiv · arXiv q-fin · 2023
Backtest is a way of financial risk evaluation which helps to analyze how our trading algorithm would work in markets with past time frame. The high volatility situation has always been a critical situation which creates challenges for algorithmic traders. The paper investigates different models of sizing in financial trading and backtest to high volatility situations to understand how sizing models can lower the mod…
S. M. Masrur Ahmed
arXiv · arXiv q-fin · 2022
Designing profitable and reliable trading strategies is challenging in the highly volatile cryptocurrency market. Existing works applied deep reinforcement learning methods and optimistically reported increased profits in backtesting, which may suffer from the false positive issue due to overfitting. In this paper, we propose a practical approach to address backtest overfitting for cryptocurrency trading using deep r…
Berend Jelmer Dirk Gort, Xiao-Yang Liu, Xinghang Sun, Jiechao Gao, Shuaiyu Chen
arXiv · arXiv q-fin · 2015
In recent years several trading platforms appeared which provide a backtest engine to calculate historic performance of self designed trading strategies on underlying candle data. The construction of a correct working backtest engine is, however, a subtle task as shown by Maier-Paape and Platen (cf. arXiv:1412.5558 [q-fin.TR]). Several platforms are struggling on the correctness. In this work, we discuss the problem …
Robert Löw, Stanislaus Maier-Paape, Andreas Platen
arXiv · arXiv q-fin · 2014
In this paper we try to design the necessary calculation needed for backtesting trading systems when only candle chart data are available. We lay particular emphasis on situations which are not or not uniquely decidable and give possible strategies to handle such situations.
Stanislaus Maier-Paape, Andreas Platen
arXiv · arXiv q-fin · 2014
Calibrating a trading rule using a historical simulation (also called backtest) contributes to backtest overfitting, which in turn leads to underperformance. In this paper we propose a procedure for determining the optimal trading rule (OTR) without running alternative model configurations through a backtest engine. We present empirical evidence of the existence of such optimal solutions for the case of prices follow…
Peter P. Carr, Marcos Lopez de Prado
arXiv · arXiv q-fin · 2025
Concentrated Liquidity Market Makers (CLMMs) represent a fundamental innovation in market microstructure, transforming liquidity provision from passive portfolio allocation to active risk management. This evolution creates significant challenges for performance evaluation and strategy optimization, particularly due to the absence of comprehensive historical liquidity data. We address these challenges through a novel …
Andrey Urusov, Rostislav Berezovskiy, Anatoly Krestenko, Andrei Kornilov, Yury Yanovich
arXiv · arXiv q-fin · 2021
This research aims to demonstrate a dynamic cointegration-based pairs trading strategy, including an optimal look-back window framework in the cryptocurrency market, and evaluate its return and risk by applying three different scenarios. We employ the Engle-Granger methodology, the Kapetanios-Snell-Shin (KSS) test, and the Johansen test as cointegration tests in different scenarios. We calibrate the mean-reversion sp…
Masood Tadi, Irina Kortchmeski
arXiv · arXiv q-fin · 2020
As deep reinforcement learning (DRL) has been recognized as an effective approach in quantitative finance, getting hands-on experiences is attractive to beginners. However, to train a practical DRL trading agent that decides where to trade, at what price, and what quantity involves error-prone and arduous development and debugging. In this paper, we introduce a DRL library FinRL that facilitates beginners to expose t…
Xiao-Yang Liu, Hongyang Yang, Qian Chen, Runjia Zhang, Liuqing Yang
arXiv · arXiv q-fin · 2019
This book, which is in Spanish, provides detailed descriptions, including over 550 mathematical formulas, for over 150 trading strategies across a host of asset classes (and trading styles). This includes stocks, options, fixed income, futures, ETFs, indexes, commodities, foreign exchange, convertibles, structured assets, volatility (as an asset class), real estate, distressed assets, cash, cryptocurrencies, miscella…
Zura Kakushadze, Juan Andrés Serur
arXiv · arXiv q-fin · 2011
This paper addresses the optimal scheduling of the liquidation of a portfolio using a new angle. Instead of focusing only on the scheduling aspect like Almgren and Chriss, or only on the liquidity-consuming orders like Obizhaeva and Wang, we link the optimal trade-schedule to the price of the limit orders that have to be sent to the limit order book to optimally liquidate a portfolio. Most practitioners address these…
Olivier Guéant, Charles-Albert Lehalle, Joaquin Fernandez Tapia
arXiv · arXiv q-fin · 2026
Evaluating whether large language model (LLM) agents can profit in capital markets is increasingly framed as end-to-end trading: place an agent in a historical market, let it trade, and measure portfolio returns. This setup is vulnerable to two evaluation failures. First, long backtests often overlap with the knowledge cutoffs of frontier LLMs, allowing memorized tickers, dates, prices, and market narratives to subst…
Taojie Zhu, Wentao Zhao, Rui Sun, Beidi Luan, Jiacheng Lu
arXiv · arXiv q-fin · 2026
Improvements in return forecast accuracy do not always lead to proportional improvements in portfolio decision quality, especially under realistic trading frictions and constraints. This paper adopts the Smart Predict--then--Optimize (SPO) paradigm for portfolio optimization in real markets, which explicitly aligns the learning objective with downstream portfolio decision quality rather than pointwise prediction accu…
Wang Yi, Takashi Hasuike
arXiv · arXiv q-fin · 2025
We propose a profitable trading strategy for the cryptocurrency market based on grid trading. Starting with an analysis of the expected value of the traditional grid strategy, we show that under simple assumptions, its expected return is essentially zero. We then introduce a novel Dynamic Grid-based Trading (DGT) strategy that adapts to market conditions by dynamically resetting grid positions. Our backtesting result…
Kai-Yuan Chen, Kai-Hsin Chen, Jyh-Shing Roger Jang
arXiv · arXiv q-fin · 2023
Volatility-based trading strategies have attracted a lot of attention in financial markets due to their ability to capture opportunities for profit from market dynamics. In this article, we propose a new volatility-based trading strategy that combines statistical analysis with machine learning techniques to forecast stock markets trend. The method consists of several steps including, data exploration, correlation and…
Ivan Letteri
arXiv · arXiv q-fin · 2019
Portfolio traders strive to identify dynamic portfolio allocation schemes so that their total budgets are efficiently allocated through the investment horizon. This study proposes a novel portfolio trading strategy in which an intelligent agent is trained to identify an optimal trading action by using deep Q-learning. We formulate a Markov decision process model for the portfolio trading process, and the model adopts…
Hyungjun Park, Min Kyu Sim, Dong Gu Choi
arXiv · arXiv q-fin · 2019
In this study, we applied a stochastic spread pairs trading strategy on the Indian commodity market. The complete set of commodities were taken whose spot price was available for the period of January 1st 2010 to December 31st 2018 including energy, metals and the agricultural commodity sector. Spot data was taken from the MCX pooled spot prices for 17 commodities. The data was split into training period (January 1st…
Dhruv Mahajan, Abhijeet Chandra