Manuscript Offprint

arXiv:2608.28399

RetailAgent: Structured Adverse Timing in Self-Conditioned Multimodal LLM Trading Agents

Yupeng Zhang, Liuyuan Jiang, Hongyi Huang, Bingheng Li, Lisha Chen

Abstract

In financial markets, a sequential policy that reacts systematically to price movements may become predictable to other market participants. This paper studies whether large language model (LLM) agents exhibit such directional structure through RetailAgent, an experimental framework in which an LLM observes anonymized intraday equity price histories and permitted state, then repeatedly chooses long (hold the stock) or flat (stay out) before the subsequent interval return is revealed. We compare returns during long and flat intervals along the same stock's intraday path after removing the overall fraction of long decisions. This exposure-matched measure reveals persistent negative timing across modality, horizon, state, and model family. Shuffling saved action sequences substantially attenuates the effect, showing that alignment between actions and subsequent returns drives the negative score. Feeding self-authored memories into decisions further increases policy persistence, while timing becomes more negative among stock-days on which the agent uses both actions. These results reveal stable, recoverable directional structure in sequential LLM financial decisions and a behavioral signal for studying how another participant could respond to a predictable policy.

1 Introduction

Financial-market theory shows that prices can aggregate dispersed information and that order flow, the sequence of submitted trades, can reveal information to other market participants [Grossman and Stiglitz, 1980, Kyle, 1985]. A policy that responds systematically to salient price movements can therefore be anticipated even when each action sounds plausible in isolation. Evidence connects individual trading to attention, past returns, market displays, feedback, overconfidence, and costly turnover [Barber and Odean, 2000, 2008, 2013, Benamar, 2019, Statman et al., 2006, Ben-David et al., 2018]. Stocks favored by small traders have also displayed subsequent underperformance in historical samples [Hvidkjaer, 2008]. The top panel of Figure 1 illustrates how systematic price-conditioned reactions create behavior that other market participants can anticipate.

Large language odel (LLM) agents offer a controlled setting for studying such behavior because they make sequential

Figure

Figure 1: Top: price-conditioned behavior may invite a counter-response in an interactive market. Bottom: RetailAgent isolates one such decision policy, chooses a binary action from permitted state, and is evaluated on subsequently revealed returns.

**Equal contribution. †Corresponding author.

Preprint.

decisions conditioned on prior actions, stored memories, and self-generated interpretations [Park et al., 2023, Liu et al., 2024]. The bottom panel of Figure 1 isolates one such policy. An aggregate task score can combine irregular mistakes with a repeated tendency to choose the wrong side of subsequent returns. We isolate that repeated tendency under a fixed information boundary. The agent receives permitted price history and endogenous state generated by earlier decisions. The principal numerical protocol conceals stock identity, calendar date, absolute price, news, fundamentals, cross-sectional ranks, and future outcomes. The appendix records the separate input provenance of visual and learned conditions. This design evaluates the long/flat policy on a controlled market path [Aher et al., 2023, Argyle et al., 2023, Hu et al., 2026b].

Building on this controlled setup, we make the following contributions, summarized as C1–C3.

C1) RetailAgent framework. We propose RetailAgent, a controlled multimodal framework for tracing sequential LLM decisions and self-authored memory under that boundary (Section 2).

As illustrated in the bottom panel of Figure 1 and detailed in Figure 2, the agent receives an anonymized rolling intraday price history and permitted endogenous state through multimodal pathways, then chooses long or flat. At each interval, the framework records the observation, endogenous state, action, any self-authored memory, and subsequently revealed return. RetailAgent therefore provides a controlled behavioral proxy with a limited price-only interface. We ask whether sequential LLM decisions exhibit stable directional structure. The experiments identify a persistent wrong-signed component:

C2) Verified structured adverse timing. We establish consistently negative within-stock timing across 14 standard configurations and use trajectory shuffling, the complementary schedule, and signal-overlap tests to make this directional structure explicit (Section 3).

Across all 14 standard configurations spanning modality, decision horizon, account state, and model family under a shared protocol, within-stock timing is negative, indicating systematically wrong-signed entry and exit relative to each stock's own path (Section 3.2.1). In the principal 10-minute Qwen3.5 experiments [Qwen Team, 2026], numerical-text, chart-only, and joint text+chart inputs score -45.7 bps per stock-day on 13,710 stock-days, -29.9 on 14,937, and -48.9 on 14,438. These panels use different sampling frames. The repeated negative sign is the robust claim, and magnitude comparisons use matched panels.

Trajectory shuffling substantially attenuates the effect. Randomly permuting actions while preserving the overall long fraction yields -3.5 bps under global shuffling and -8.7 under same-day shuffling, compared with -45.7 for the intact schedule. Sequential alignment between actions and subsequent returns therefore accounts for most of the intact estimate. The complementary schedule, formed by exchanging long and flat actions, reverses the timing sign by construction and serves as a sign diagnostic. Under research-return labels, the trajectory carries recoverable directional structure. Section 3.2.2 shows that projections onto the tested GRU, GBDT, and reversal signals leave substantial residual structure in the inverted schedule.

C3) Self-conditioning amplifies persistence and adverse timing. We show that exposing one earlier self-authored memory reduces action switching and makes within-stock timing more negative among stock-days that contain both actions (Section 3.2.3).

Along the dashed route in Figure 2, the agent writes a memory for its future self and includes that language in the next decision context. The memory window w counts how many earlier self-authored memories are visible at decision time. Among scored stock-days with both actions, moving from w = 0 (current memory only) to w = 1 (one prior memory also visible) shifts timing from -62.8 to -74.1 bps and position changes from 2.5 to 1.7 per stock-day. Across all attempted stock-days, the corresponding action traces also show greater persistence under w = 1. Continuous embedding state provides a complementary comparison by conditioning the frozen model through price-derived soft tokens. Section 3.3 characterizes the resulting directional structure through the complementary schedule and the timing left after removing fitted linear price-signal components.

References (35)