Skip to content

Spectral Feature Extraction for Reinforcement Learning in Financial Markets Under Nonstationary Dynamics

Sep 2026 · UF Journal of Undergraduate Research · Vol 28
Stock Market Forecasting Methods

Abstract

Reinforcement learning (RL) offers a principled framework for adaptive trading under the nonstationary dynamics of financial markets, yet the interaction between state representation and reward design remains poorly understood. This study represents a controlled empirical comparison of six RL trading agents trained via Proximal Policy Optimization on SPY daily price data from 2015 to 2024, varying observation features (raw time-domain, spectral frequency-domain, and combined dual-stream) and reward functions (simple return-based and spectral regime-conditioned) in a factorial design. Results demonstrate that reward function formulation is the dominant determinant of test period performance; all spectral-reward conditions outperformed all simple-reward conditions on risk-adjusted metrics including Sharpe ratio, Sortino ratio, and Calmar ratio. Spectral features alone, without an adapted reward signal, produced no improvement over raw time-domain features. The best-performing condition combined dual-stream features with the spectral reward, achieving a test Sharpe of 1.36 and maximum drawdown of -12.6%, outperforming a passive buy & hold benchmark on all risk-adjusted metrics. These findings suggest that reward engineering, rather than feature engineering, is the higher-leverage design dimension for RL-based trading systems.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 23, 2026

Q&A: How AI came to model the “messy” human mind

Assistant Professor Benjamin Lindquist studies how engineers deliberately injected randomness into early AI, giving rise to deep-learning models that sometimes hallucinate.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.