# What Are the Primary Data Inputs for a Reinforcement Learning Model in Smart Order Routing? ▴ Question

**Published:** 2025-08-06
**Categories:** Question

---

![A layered, spherical structure reveals an inner metallic ring with intricate patterns, symbolizing market microstructure and RFQ protocol logic. A central teal dome represents a deep liquidity pool and precise price discovery, encased within robust institutional-grade infrastructure for high-fidelity execution](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-prime-os-orchestrating-rfq-protocols-for-high-fidelity-execution-and-multi-asset-liquidity.jpg)

![Abstract spheres and linear conduits depict an institutional digital asset derivatives platform. The central glowing network symbolizes RFQ protocol orchestration, price discovery, and high-fidelity execution across market microstructure](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-high-fidelity-execution-4.jpg)

## Concept

Constructing a [Reinforcement Learning](https://prime.greeks.live/area/reinforcement-learning/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) (RL) model for [Smart Order Routing](https://prime.greeks.live/area/smart-order-routing/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) (SOR) begins with a foundational choice about its perception of the market. The primary data inputs are the sensory apparatus through which the RL agent, your SOR, observes the complex, dynamic environment of modern electronic markets. The quality, granularity, and dimensionality of these inputs directly dictate the system’s capacity to formulate and execute a superior routing strategy. A system operating on lagging or incomplete data is navigating with impaired vision, whereas a system fed with a rich, high-fidelity data stream can perceive subtle shifts in liquidity and momentum, enabling it to make decisions that preserve capital and enhance execution quality.

The core of the RL paradigm consists of an agent interacting with an environment through a loop of state, action, and reward. The data inputs constitute the ‘state’ ▴ a multi-dimensional snapshot of the market at a precise moment. This [state representation](https://prime.greeks.live/area/state-representation/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) is the only information the agent has to inform its ‘action,’ which in this case is the decision of where, when, and how to route a specific portion of an order. The subsequent ‘reward’ ▴ a quantitative measure of how well the action achieved its goal, such as minimizing slippage ▴ is then used to update the agent’s internal logic, or policy.

Therefore, the selection of data inputs is the architectural bedrock upon which the entire learning process is built. An impoverished state representation will lead to a suboptimal policy, regardless of the sophistication of the learning algorithm itself.

> A reinforcement learning model’s performance in smart order routing is fundamentally determined by the richness and relevance of its input data, which forms its entire perception of the market environment.

![Angular dark planes frame luminous turquoise pathways converging centrally. This visualizes institutional digital asset derivatives market microstructure, highlighting RFQ protocols for private quotation and high-fidelity execution](https://options.greeks.live/wp-content/uploads/2025/07/high-fidelity-rfq-protocols-for-institutional-digital-assets.jpg)

## The Anatomy of the State Space

The collection of all possible states the environment can be in is known as the [state space](https://prime.greeks.live/area/state-space/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite). For an SOR agent, this space is vast and defined by a vector of numerical values derived from various data sources. These sources can be broadly categorized into three distinct families ▴ public market data, proprietary broker or venue data, and the agent’s own [internal state](https://prime.greeks.live/question/how-does-an-ems-maintain-state-consistency-across-multiple-trading-venues/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite).

Each family provides a unique dimension of information, and their synthesis is what allows the RL agent to develop a holistic, systemic understanding of the trading landscape. The design of this state space is a critical act of financial engineering, balancing the need for comprehensive information against the computational cost of processing it in real-time.

![A modular institutional trading interface displays a precision trackball and granular controls on a teal execution module. Parallel surfaces symbolize layered market microstructure within a Principal's operational framework, enabling high-fidelity execution for digital asset derivatives via RFQ protocols](https://options.greeks.live/wp-content/uploads/2025/07/high-fidelity-institutional-digital-asset-derivatives-rfq-protocol-controls.jpg)

## How Does the Agent Perceive the Market?

The agent’s perception is a composite view assembled from multiple data streams. Public [market data](https://prime.greeks.live/area/market-data/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite), such as the [limit order book](https://prime.greeks.live/area/limit-order-book/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite), provides a direct view into the supply and demand for an asset at various price levels. Proprietary data, like historical fill rates at a specific dark pool, offers a contextual layer based on past experience. The agent’s internal state, including the remaining size of the parent order, provides the immediate context for the decision at hand.

The challenge lies in structuring these disparate pieces of information into a coherent and standardized format ▴ a [state vector](https://prime.greeks.live/question/what-is-the-role-of-dealer-hedging-as-a-primary-vector-for-information-leakage-in-otc-derivatives/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) ▴ that the RL model can interpret and act upon. This process of feature selection and engineering is where deep [market microstructure](https://prime.greeks.live/area/market-microstructure/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) knowledge becomes indispensable.

![A transparent, blue-tinted sphere, anchored to a metallic base on a light surface, symbolizes an RFQ inquiry for digital asset derivatives. A fine line represents low-latency FIX Protocol for high-fidelity execution, optimizing price discovery in market microstructure via Prime RFQ](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-rfq-protocol-sphere-high-fidelity-execution-gateway.jpg)

![Mirrored abstract components with glowing indicators, linked by an articulated mechanism, depict an institutional grade Prime RFQ for digital asset derivatives. This visualizes RFQ protocol driven high-fidelity execution, price discovery, and atomic settlement across market microstructure](https://options.greeks.live/wp-content/uploads/2025/07/prime-os-digital-asset-rfq-high-fidelity-execution-microstructure.jpg)

## Strategy

The strategic design of a data input architecture for a reinforcement learning-based SOR is a process of deliberate information curation. The goal is to provide the learning agent with a state representation that is both comprehensive and actionable, enabling it to develop a routing policy that aligns with specific institutional objectives, such as minimizing market impact or achieving a benchmark price like VWAP. The strategy involves making critical decisions about data sources, feature engineering, and the very definition of the agent’s reward mechanism, which interprets the outcomes of its actions.

A primary strategic consideration is the trade-off between data richness and processing latency. While a highly dimensional state space incorporating a vast array of features might seem optimal, it introduces significant computational overhead. In a market where microseconds matter, the time taken to assemble, process, and act upon a state vector can be the difference between capturing liquidity and missing an opportunity. Therefore, an effective strategy involves identifying the most predictive features and discarding noisy or redundant ones.

This is achieved through a combination of domain expertise in market microstructure and empirical analysis of feature importance. The resulting data architecture is a lean, powerful framework designed for high-speed decision-making.

![A precise metallic central hub with sharp, grey angular blades signifies high-fidelity execution and smart order routing. Intersecting transparent teal planes represent layered liquidity pools and multi-leg spread structures, illustrating complex market microstructure for efficient price discovery within institutional digital asset derivatives RFQ protocols](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-engine-for-high-fidelity-execution-across-market-microstructure-dynamics.jpg)

## Crafting the State and Reward Functions

The state function is the lens through which the agent sees the market, while the [reward function](https://prime.greeks.live/area/reward-function/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) is the compass that guides its learning process. The design of these two components is deeply intertwined. The state must contain all the necessary information for the agent to predict the likely reward of a given action. For instance, if the reward function is designed to penalize high slippage, the state representation must include high-frequency data on bid-ask spreads and [order book](https://prime.greeks.live/area/order-book/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) depth, as these are the primary drivers of slippage.

The following list outlines the strategic categories of data inputs required to build a robust state representation for an RL-based SOR:

- **Live Market Data** This is the non-negotiable, real-time feed of market activity. It forms the core of the agent’s perception and includes [Level 2 order book](https://prime.greeks.live/area/level-2-order-book/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) data (bids, asks, and their sizes) and time-and-sales data (last traded price and volume). The strategy here dictates the depth of the book to be considered and the frequency of updates.

- **Derived Microstructure Features** Raw market data is valuable, but its predictive power is amplified when transformed into insightful features. These are calculated metrics that summarize market conditions, such as order book imbalance, volatility, spread cost, and VWAP deviation. The selection of which features to engineer is a key strategic decision.

- **Venue-Specific Analytics** An SOR’s job is to choose between different trading venues (lit exchanges, dark pools, etc.). Therefore, the state must include data about the venues themselves. This includes real-time latency measurements, historical fill probabilities for orders of a similar size, and the fee structure of each venue. This data is often proprietary to the broker.

- **Parent Order Context** The agent must be aware of its own mission. The state must include characteristics of the master order it is trying to execute, such as the total size, the quantity remaining, the time elapsed since the order was initiated, and any specific execution instructions or constraints.

> The strategic selection of data inputs and the design of the reward function are two sides of the same coin, together defining the agent’s ability to learn and execute an optimal routing policy.

![Abstract metallic and dark components symbolize complex market microstructure and fragmented liquidity pools for digital asset derivatives. A smooth disc represents high-fidelity execution and price discovery facilitated by advanced RFQ protocols on a robust Prime RFQ, enabling precise atomic settlement for institutional multi-leg spreads](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-market-microstructure-optimizing-rfq-protocols-for-high-fidelity-execution-on-prime-os.jpg)

## Comparative Data Input Strategies

Different execution objectives demand different data priorities. An SOR designed for urgent, liquidity-seeking orders will prioritize different inputs than one designed for patient, opportunistic execution. The table below illustrates two distinct strategic approaches to data input design.

| Data Input Feature | Aggressive (Impact-Minimization) Strategy | Passive (VWAP-Tracking) Strategy |
| --- | --- | --- |
| Order Book Depth | High priority on the first 5 levels of the book to identify immediate, accessible liquidity. | Lower priority; more focus on the overall book shape and potential for price reversion. |
| Order Flow Imbalance | Critical input to predict short-term price movements and avoid chasing a rising price. | Important, but used in conjunction with the VWAP schedule to time trades. |
| Venue Fill Probability | Extremely high priority; the model seeks certainty of execution. | Moderate priority; the model can tolerate lower fill rates in exchange for potential price improvement. |
| Realized Volatility | Used as a risk signal to accelerate execution before conditions worsen. | Used as an opportunity signal to participate more when volatility is low and prices are stable. |
| VWAP Deviation | Low priority; the primary goal is to minimize slippage from the arrival price. | The single most important input for the reward function; the agent is trained to minimize this value. |

![A sleek green probe, symbolizing a precise RFQ protocol, engages a dark, textured execution venue, representing a digital asset derivatives liquidity pool. This signifies institutional-grade price discovery and high-fidelity execution through an advanced Prime RFQ, minimizing slippage and optimizing capital efficiency](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-derivatives-rfq-protocol-integration-for-high-fidelity-execution-and-institutional-liquidity-aggregation-on-prime-os.jpg)

![A chrome cross-shaped central processing unit rests on a textured surface, symbolizing a Principal's institutional grade execution engine. It integrates multi-leg options strategies and RFQ protocols, leveraging real-time order book dynamics for optimal price discovery in digital asset derivatives, minimizing slippage and maximizing capital efficiency](https://options.greeks.live/wp-content/uploads/2025/07/principals-high-fidelity-rfq-execution-digital-asset-derivatives-hub.jpg)

## Execution

The execution phase of implementing an RL-based SOR translates strategic data selection into a tangible, operational architecture. This involves establishing robust data pipelines for each category of input, engineering features with low-latency computation, and structuring the final state vector for consumption by the RL model. The precision of this process is paramount; errors or delays in the data feed can lead to flawed decision-making and poor execution outcomes. The system must be designed for resilience, accuracy, and speed.

At its core, the execution framework is a data processing engine. It ingests raw, disparate data streams ▴ from co-located exchange gateways providing nanosecond-level market data to internal databases logging historical venue performance. It then normalizes, cleans, and transforms this data into the specific features defined by the SOR strategy.

This engineered data is then assembled into the state vector, a snapshot of the market from the agent’s perspective, which is fed into the RL policy network to produce a routing decision. This entire cycle must be completed in a few milliseconds or less.

![Abstract forms depict institutional liquidity aggregation and smart order routing. Intersecting dark bars symbolize RFQ protocols enabling atomic settlement for multi-leg spreads, ensuring high-fidelity execution and price discovery of digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-high-fidelity-execution-2.jpg)

## Core Market Data Inputs in Detail

The foundation of the state representation is the live market data, which provides the most immediate picture of liquidity and price. These inputs must be captured and processed with the lowest possible latency.

- **Level 2 Order Book Data** This is a snapshot of the resting limit orders on an exchange. For an RL model, this is typically flattened into a vector. For example, a vector for the top 10 levels of the book would include 40 features ▴ . These values provide the agent with a direct view of the available liquidity and the cost of crossing the spread.

- **Time and Sales Data** This stream, often called “the tape,” shows every trade as it occurs. Key features extracted include the price and size of the last trade, and often a short-term moving average of trade volume. This data gives the agent a sense of market momentum and aggression. An increase in trade volume at the ask price, for example, signals strong buying pressure.

- **Reference Price Data** The agent needs a stable benchmark. This is often the midpoint of the National Best Bid and Offer (NBBO) or the current last traded price. All other price data in the state vector is typically normalized relative to this reference price to ensure consistency.

The following table provides a granular look at the core data inputs, their typical format, and their function within the RL model’s decision-making process.

| Data Point | Data Type | Description & Purpose |
| --- | --- | --- |
| Bid/Ask Prices (Levels 1-N) | Float (Normalized) | Represents the prices of resting orders. Normalized by the midpoint to create a consistent price scale for the model. Informs the agent of the cost to trade. |
| Bid/Ask Sizes (Levels 1-N) | Integer (Normalized) | Represents the volume available at each price level. Normalized by the parent order size. Informs the agent of the available liquidity. |
| Spread | Float (Normalized) | Calculated as (Ask Price 1 – Bid Price 1). A direct measure of the immediate cost of a round-trip trade. A key input for predicting slippage. |
| Last Trade Price | Float (Normalized) | The price of the most recent transaction. Provides a real-time signal of the current market value and momentum. |
| Last Trade Volume | Integer (Normalized) | The size of the most recent transaction. Helps the agent gauge the significance of price movements. |

> The translation of raw market signals into a structured, normalized state vector is the critical execution step that enables the reinforcement learning model to operate effectively.

![Intersecting geometric planes symbolize complex market microstructure and aggregated liquidity. A central nexus represents an RFQ hub for high-fidelity execution of multi-leg spread strategies](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-protocols-high-fidelity-execution-market-microstructure-optimisation.jpg)

## What Is the Role of Contextual and Internal Data?

Market data alone is insufficient. The agent requires context about its environment and itself to make intelligent trade-offs. This is where derived features and internal state variables become essential.

For example, a simple volatility calculation (e.g. the standard deviation of the last 100 trade prices) provides a measure of market risk that is not immediately apparent from the raw order book. Similarly, knowing that an order has been working for a long time (an internal state variable) might cause the agent to adopt a more aggressive routing strategy to ensure completion.

These contextual inputs include:

- **Time-based Features** The time of day, represented as a fraction of the trading day completed, allows the model to learn time-dependent patterns, such as increased volume near the market open and close.

- **Internal State Features** The quantity of the order remaining to be filled and the time since the last fill are critical inputs. They inform the agent’s sense of urgency and progress toward its goal.

- **Venue Performance Features** Data on the latency to each venue and the historical probability of a fill at each venue for a given order size are crucial for making the ‘where to route’ decision. This data is proprietary and represents a significant source of competitive advantage.

Ultimately, the execution of the data input strategy is about building a high-performance data processing pipeline. This pipeline is the nervous system of the SOR, and its efficiency, accuracy, and comprehensiveness directly determine the intelligence of the final routing decisions.

![Abstract geometric forms depict a Prime RFQ for institutional digital asset derivatives. A central RFQ engine drives block trades and price discovery with high-fidelity execution](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-engine-optimizing-market-microstructure-for-high-fidelity-execution.jpg)

## References

- Sutton, Richard S. and Andrew G. Barto. Reinforcement learning ▴ An introduction. MIT press, 2018.

- Nevmyvaka, Yuriy, Yi-Hao Kao, and Feng-Tso Sun. “A reinforcement learning-based approach to smart order routing.” Proceedings of the 2nd ACM International Conference on Digital Rights Management. 2008.

- Gu, Shixiang, et al. “Deep reinforcement learning for robotic manipulation with asynchronous off-policy updates.” 2017 IEEE international conference on robotics and automation (ICRA). IEEE, 2017.

- Harris, Larry. Trading and exchanges ▴ Market microstructure for practitioners. Oxford University Press, 2003.

- Cartea, Álvaro, Sebastian Jaimungal, and Jaimungal Penalva. Algorithmic and high-frequency trading. Cambridge University Press, 2015.

- Ning, B. F. Lin, and B. J. van der Schaar. “A data-driven approach to intelligent trading.” IEEE Transactions on Knowledge and Data Engineering 31.10 (2018) ▴ 1943-1956.

- Lehalle, Charles-Albert, and Sophie Laruelle. Market microstructure in practice. World Scientific, 2013.

- Bubeck, Sébastien, and Nicolò Cesa-Bianchi. “Regret analysis of stochastic and nonstochastic multi-armed bandit problems.” Foundations and Trends® in Machine Learning 5.1 (2012) ▴ 1-122.

![A metallic Prime RFQ core, etched with algorithmic trading patterns, interfaces a precise high-fidelity execution blade. This blade engages liquidity pools and order book dynamics, symbolizing institutional grade RFQ protocol processing for digital asset derivatives price discovery](https://options.greeks.live/wp-content/uploads/2025/07/prime-os-digital-asset-derivatives-rfq-high-fidelity-execution-system.jpg)

## Reflection

![A sleek, multi-faceted plane represents a Principal's operational framework and Execution Management System. A central glossy black sphere signifies a block trade digital asset derivative, executed with atomic settlement via an RFQ protocol's private quotation](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-derivatives-rfq-principal-os-high-fidelity-execution.jpg)

## Is Your Data Architecture an Asset or a Liability

The exploration of data inputs for a [reinforcement learning model](https://prime.greeks.live/question/how-does-reinforcement-learning-differ-from-supervised-learning-in-trading/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) reveals a fundamental truth about modern trading systems. The intelligence of an algorithm is a direct function of the quality of the data it consumes. An institution’s data architecture is therefore a primary strategic asset. It is the sensory and cognitive foundation upon which all automated execution rests.

Considering your own operational framework, does your data infrastructure merely report on the market, or does it provide a deeply integrated, low-latency perception of it? The difference is substantial. A reporting framework provides data points.

A perceptual framework provides a coherent, actionable worldview. As you move toward more sophisticated execution systems, the challenge becomes one of architectural design ▴ building a system that not only gathers data but synthesizes it into a decisive operational edge.

![A beige spool feeds dark, reflective material into an advanced processing unit, illuminated by a vibrant blue light. This depicts high-fidelity execution of institutional digital asset derivatives through a Prime RFQ, enabling precise price discovery for aggregated RFQ inquiries within complex market microstructure, ensuring atomic settlement](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-engine-prime-os-3.jpg)

## Glossary

<a href="https://prime.greeks.live/area/reinforcement-learning/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Precision metallic component, possibly a lens, integral to an institutional grade Prime RFQ. Its layered structure signifies market microstructure and order book dynamics](https://options.greeks.live/wp-content/uploads/2025/08/high-fidelity-institutional-digital-asset-rfq-execution-engine.jpg)

## Reinforcement Learning

Meaning ▴ Reinforcement Learning (RL) is a computational methodology where an autonomous agent learns to execute optimal decisions within a dynamic environment, maximizing a cumulative reward signal. </a><a href="https://prime.greeks.live/area/smart-order-routing/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![An institutional-grade platform's RFQ protocol interface, with a price discovery engine and precision guides, enables high-fidelity execution for digital asset derivatives. Integrated controls optimize market microstructure and liquidity aggregation within a Principal's operational framework](https://options.greeks.live/wp-content/uploads/2025/07/proprietary-institutional-digital-asset-derivatives-rfq-protocol-engine-facilitating-high-fidelity-execution-and-granular-market-microstructure-analysis-for-prime-os.jpg)

## Smart Order Routing

Meaning ▴ Smart Order Routing is an algorithmic execution mechanism designed to identify and access optimal liquidity across disparate trading venues. </a><a href="https://prime.greeks.live/area/state-representation/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Abstractly depicting an institutional digital asset derivatives trading system. Intersecting beams symbolize cross-asset strategies and high-fidelity execution pathways, integrating a central, translucent disc representing deep liquidity aggregation](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-ecosystem-unifying-rfq-protocols-for-high-fidelity-execution-and-deep-liquidity-aggregation-across-multi-leg-spreads.jpg)

## State Representation

Meaning ▴ State Representation defines the complete, instantaneous dataset of all relevant variables that characterize the current condition of a system, whether it is a market, a portfolio, or an individual order. </a><a href="https://prime.greeks.live/question/how-does-an-ems-maintain-state-consistency-across-multiple-trading-venues/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A slender metallic probe extends between two curved surfaces. This abstractly illustrates high-fidelity execution for institutional digital asset derivatives, driving price discovery within market microstructure](https://options.greeks.live/wp-content/uploads/2025/07/precision-instrument-navigating-institutional-digital-asset-derivatives-rfq-protocols-for-optimal-price-discovery-and-high-fidelity-execution.jpg)

## Internal State

An EMS maintains state consistency by centralizing order management and using FIX protocol to reconcile real-time data from multiple venues. </a><a href="https://prime.greeks.live/area/state-space/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A polished, abstract geometric form represents a dynamic RFQ Protocol for institutional-grade digital asset derivatives. A central liquidity pool is surrounded by opening market segments, revealing an emerging arm displaying high-fidelity execution data](https://options.greeks.live/wp-content/uploads/2025/07/high-fidelity-institutional-digital-asset-derivatives-rfq-protocol-system.jpg)

## State Space

Meaning ▴ The State Space defines the complete set of all possible configurations or conditions a dynamic system can occupy at any given moment, representing a multi-dimensional construct where each dimension corresponds to a relevant system variable. </a><a href="https://prime.greeks.live/area/limit-order-book/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A central multi-quadrant disc signifies diverse liquidity pools and portfolio margin. A dynamic diagonal band, an RFQ protocol or private quotation channel, bisects it, enabling high-fidelity execution for digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/high-fidelity-rfq-protocols-for-institutional-digital-asset-derivatives.jpg)

## Limit Order Book

Meaning ▴ The Limit Order Book represents a dynamic, centralized ledger of all outstanding buy and sell limit orders for a specific financial instrument on an exchange. </a><a href="https://prime.greeks.live/area/market-data/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A transparent, convex lens, intersected by angled beige, black, and teal bars, embodies institutional liquidity pool and market microstructure. This signifies RFQ protocols for digital asset derivatives and multi-leg options spreads, enabling high-fidelity execution and atomic settlement via Prime RFQ](https://options.greeks.live/wp-content/uploads/2025/07/high-fidelity-execution-of-institutional-digital-asset-derivatives-via-advanced-rfq-protocols-for-multi-leg-spreads.jpg)

## Market Data

Meaning ▴ Market Data comprises the real-time or historical pricing and trading information for financial instruments, encompassing bid and ask quotes, last trade prices, cumulative volume, and order book depth. </a><a href="https://prime.greeks.live/area/market-microstructure/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A sharp metallic element pierces a central teal ring, symbolizing high-fidelity execution via an RFQ protocol gateway for institutional digital asset derivatives. This depicts precise price discovery and smart order routing within market microstructure, optimizing dark liquidity for block trades and capital efficiency](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-protocol-optimizing-liquidity-discovery-and-smart-order-routing.jpg)

## Market Microstructure

Meaning ▴ Market Microstructure refers to the study of the processes and rules by which securities are traded, focusing on the specific mechanisms of price discovery, order flow dynamics, and transaction costs within a trading venue. </a><a href="https://prime.greeks.live/question/what-is-the-role-of-dealer-hedging-as-a-primary-vector-for-information-leakage-in-otc-derivatives/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![An abstract, reflective metallic form with intertwined elements on a gradient. This visualizes Market Microstructure of Institutional Digital Asset Derivatives, highlighting Liquidity Pool aggregation, High-Fidelity Execution, and precise Price Discovery via RFQ protocols for efficient Block Trade on a Prime RFQ](https://options.greeks.live/wp-content/uploads/2025/07/prime-os-digital-asset-derivatives-rfq-market-microstructure-high-fidelity-execution.jpg)

## State Vector

Dealer hedging is the primary vector for information leakage in OTC derivatives, turning risk mitigation into a broadcast of trading intentions. </a><a href="https://prime.greeks.live/area/reward-function/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Abstract, layered spheres symbolize complex market microstructure and liquidity pools. A central reflective conduit represents RFQ protocols enabling block trade execution and precise price discovery for multi-leg spread strategies, ensuring high-fidelity execution within institutional trading of digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-protocol-engine-for-high-fidelity.jpg)

## Reward Function

Meaning ▴ The Reward Function defines the objective an autonomous agent seeks to optimize within a computational environment, typically in reinforcement learning for algorithmic trading. </a><a href="https://prime.greeks.live/area/order-book/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Central intersecting blue light beams represent high-fidelity execution and atomic settlement. Mechanical elements signify robust market microstructure and order book dynamics](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-protocol-execution-engine-visualizing-market-microstructure-for-high-fidelity-alpha-generation-via-prime-os.jpg)

## Order Book

Meaning ▴ An Order Book is a real-time electronic ledger detailing all outstanding buy and sell orders for a specific financial instrument, organized by price level and sorted by time priority within each level. </a><a href="https://prime.greeks.live/area/level-2-order-book/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A teal-blue disk, symbolizing a liquidity pool for digital asset derivatives, is intersected by a bar. This represents an RFQ protocol or block trade, detailing high-fidelity execution pathways](https://options.greeks.live/wp-content/uploads/2025/07/prime-os-rfq-protocols-high-fidelity-digital-asset-execution.jpg)

## Level 2 Order Book

Meaning ▴ The Level 2 Order Book represents a granular, real-time aggregation of outstanding limit orders for a specific digital asset derivative, displaying not only the best bid and offer but also the depth of liquidity at various price levels beyond the immediate best prices. </a><a href="https://prime.greeks.live/question/how-does-reinforcement-learning-differ-from-supervised-learning-in-trading/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Luminous blue drops on geometric planes depict institutional Digital Asset Derivatives trading. Large spheres represent atomic settlement of block trades and aggregated inquiries, while smaller droplets signify granular market microstructure data](https://options.greeks.live/wp-content/uploads/2025/07/institutional-grade-digital-asset-derivatives-rfq-protocols-driving-high-fidelity-execution-and-optimal-liquidity-discovery.jpg)

## Reinforcement Learning Model

Supervised learning predicts market states, while reinforcement learning architects an optimal policy to act within those states. </a>

**Tags:** [Price Slippage](https://options.greeks.live/area/price-slippage/), [Market Data](https://options.greeks.live/area/market-data/), [Reinforcement Learning](https://options.greeks.live/area/reinforcement-learning/), [State Representation](https://options.greeks.live/area/state-representation/), [Order Flow Imbalance](https://options.greeks.live/area/order-flow-imbalance/), [Market Microstructure](https://options.greeks.live/area/market-microstructure/)	

## Discover More

- 
### [What Are the Core Data Requirements for Building a Predictive Market Impact Model for Illiquid Stocks?](https://options.greeks.live/question/what-are-the-core-data-requirements-for-building-a-predictive-market-impact-model-for-illiquid-stocks/)
![A sleek, abstract system interface with a central spherical lens representing real-time Price Discovery and Implied Volatility analysis for institutional Digital Asset Derivatives. Its precise contours signify High-Fidelity Execution and robust RFQ protocol orchestration, managing latent liquidity and minimizing slippage for optimized Alpha Generation.](https://options.greeks.live/wp-content/uploads/2025/07/high-fidelity-institutional-digital-asset-derivatives-execution-via-optimized-rfq-protocols-enhancing-market-microstructure.jpg)

Core data for illiquid stock impact models must capture order book dynamics, trade flow, and resilience to forecast execution costs.

- 
### [How Can Machine Learning Be Integrated into Smart Trading Systems to Predict and Minimize Market Impact?](https://options.greeks.live/question/how-can-machine-learning-be-integrated-into-smart-trading-systems-to-predict-and-minimize-market-impact/)
![A sleek, domed control module, light green to deep blue, on a textured grey base, signifies precision. This represents a Principal's Prime RFQ for institutional digital asset derivatives, enabling high-fidelity execution via RFQ protocols, optimizing price discovery, and enhancing capital efficiency within market microstructure.](https://options.greeks.live/wp-content/uploads/2025/07/precision-control-for-institutional-digital-asset-rfq-execution.jpg)

ML integrates into trading systems by using predictive models to forecast and actively minimize the price slippage caused by trade execution.

- 
### [How Does Market Structure Dictate Best Execution Methodologies?](https://options.greeks.live/question/how-does-market-structure-dictate-best-execution-methodologies/)
![A sophisticated, illuminated device representing an Institutional Grade Prime RFQ for Digital Asset Derivatives. Its glowing interface indicates active RFQ protocol execution, displaying high-fidelity execution status and price discovery for block trades. The design suggests robust market microstructure and capital efficiency.](https://options.greeks.live/wp-content/uploads/2025/07/principal-rfq-engine-for-digital-asset-derivatives-best-execution-1.jpg)

Market structure provides the physics of trading; best execution is the engineering discipline of navigating that physics to achieve a defined objective.

- 
### [How Can Machine Learning Be Used to Optimize an Algorithm’s Strategy for Handling Partial Fills over Time?](https://options.greeks.live/question/how-can-machine-learning-be-used-to-optimize-an-algorithms-strategy-for-handling-partial-fills-over-time/)
![A precision-engineered metallic component displays two interlocking gold modules with circular execution apertures, anchored by a central pivot. This symbolizes an institutional-grade digital asset derivatives platform, enabling high-fidelity RFQ execution, optimized multi-leg spread management, and robust prime brokerage liquidity.](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-derivatives-rfq-core-for-institutional-trade-flow.jpg)

Machine learning optimizes partial fill strategies by enabling algorithms to dynamically adapt to real-time market data for superior execution.

- 
### [How Can an RL Agent Balance the Conflict between Price Improvement and Market Impact?](https://options.greeks.live/question/how-can-an-rl-agent-balance-the-conflict-between-price-improvement-and-market-impact/)
![A complex sphere, split blue implied volatility surface and white, balances on a beam. A transparent sphere acts as fulcrum. This illustrates institutional digital asset derivative RFQ execution, enabling optimal price discovery, leveraging Prime RFQ for high-fidelity execution across fragmented market microstructure and dark liquidity pools.](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-balancing-liquidity.jpg)

An RL agent balances price improvement and market impact by learning a dynamic policy to optimize a reward function that explicitly penalizes impact and rewards favorable execution prices.

- 
### [What Are the Key Data Sources for Building a Leakage Prediction Model?](https://options.greeks.live/question/what-are-the-key-data-sources-for-building-a-leakage-prediction-model/)
![A teal and white sphere precariously balanced on a light grey bar, itself resting on an angular base, depicts market microstructure at a critical price discovery point. This visualizes high-fidelity execution of digital asset derivatives via RFQ protocols, emphasizing capital efficiency and risk aggregation within a Principal trading desk's operational framework.](https://options.greeks.live/wp-content/uploads/2025/07/precision-institutional-digital-asset-derivatives-rfq-execution-strategy.jpg)

A leakage prediction model is built from high-frequency market data, alternative data, and internal execution logs.

- 
### [How Is Machine Learning Being Integrated into Next-Generation Smart Order Routing Systems?](https://options.greeks.live/question/how-is-machine-learning-being-integrated-into-next-generation-smart-order-routing-systems/)
![An exposed high-fidelity execution engine reveals the complex market microstructure of an institutional-grade crypto derivatives OS. Precision components facilitate smart order routing and multi-leg spread strategies. A central intelligence layer supports RFQ protocols, ensuring optimal price discovery and robust counterparty risk management for prime brokerage operations.](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-engine-microstructure-2.jpg)

ML-driven SORs transform routing from a static process into a predictive, adaptive system to minimize total execution cost.

- 
### [How Do Execution Algorithms Quantify and Respond to the Risk of a Partial Fill?](https://options.greeks.live/question/how-do-execution-algorithms-quantify-and-respond-to-the-risk-of-a-partial-fill/)
![An intricate, high-precision mechanism symbolizes an Institutional Digital Asset Derivatives RFQ protocol. Its sleek off-white casing protects the core market microstructure, while the teal-edged component signifies high-fidelity execution and optimal price discovery. A detailed circular dial suggests real-time implied volatility and quantitative analysis for portfolio margin.](https://options.greeks.live/wp-content/uploads/2025/07/precision-engineered-institutional-digital-asset-derivatives-rfq-protocol-high-fidelity-market-microstructure-optimization.jpg)

Execution algorithms quantify partial fill risk via predictive models and respond by dynamically adjusting tactics to optimize for cost and completion.

- 
### [How Can Machine Learning Be Used to Enhance the Predictive Capabilities of a Smart Order Router’s Prioritization Logic?](https://options.greeks.live/question/how-can-machine-learning-be-used-to-enhance-the-predictive-capabilities-of-a-smart-order-routers-prioritization-logic/)
![A sophisticated metallic mechanism with a central pivoting component and parallel structural elements, indicative of a precision engineered RFQ engine. Polished surfaces and visible fasteners suggest robust algorithmic trading infrastructure for high-fidelity execution and latency optimization. Circular depressions imply aggregated inquiry points, facilitating price discovery for institutional digital asset derivatives within a Prime RFQ.](https://options.greeks.live/wp-content/uploads/2025/07/precision-engineered-mechanism-for-institutional-digital-asset-derivatives-rfq-and-high-fidelity-execution.jpg)

Machine learning enhances a Smart Order Router by transforming its logic from static rules to dynamic, multi-factor predictions of future liquidity and cost.

---

## Raw Schema Data

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://options.greeks.live"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Question",
            "item": "https://options.greeks.live/question/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "What Are the Primary Data Inputs for a Reinforcement Learning Model in Smart Order Routing?",
            "item": "https://options.greeks.live/question/what-are-the-primary-data-inputs-for-a-reinforcement-learning-model-in-smart-order-routing/"
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "Organization",
    "@id": "https://greeks.live/#organization",
    "name": "Greeks.Live",
    "url": "https://greeks.live/",
    "description": "Greeks.live is the definitive toolkit for the professional options trader, dedicated to empowering our users with institutional-grade data, advanced analytics, and a comprehensive suite of trading tools designed to provide a decisive edge in the market. Every article and guide published under the Greeks.live name is a product of our deep commitment to data-driven analysis and our mission to support the global trading community.",
    "email": "support@greeks.live",
    "logo": {
        "@type": "ImageObject",
        "url": "https://options.greeks.live/wp-content/uploads/2025/07/Greeks.Live-Logo-Icon.svg"
    },
    "hasPart": [
        {
            "@type": "WebSite",
            "name": "About Us",
            "url": "https://about.greeks.live"
        },
        {
            "@type": "WebSite",
            "name": "App Download Page",
            "url": "https://about.greeks.live/#/download/basic_trade"
        },
        {
            "@type": "WebSite",
            "name": "Newcomers' Guide",
            "url": "https://twisty-sign-c8b.notion.site/Guide-for-Greeks-live-X-Deribit-Newbies-5a08a3052822427d800af6eaf3704c8d"
        },
        {
            "@type": "WebSite",
            "name": "Knowledge Base",
            "url": "https://linktr.ee/greeks.live"
        },
        {
            "@type": "WebSite",
            "name": "Option Terminology",
            "url": "https://greekslive.notion.site/88dfc00e7c584d4d8969b6302a79a12f?pvs=4"
        },
        {
            "@type": "WebSite",
            "name": "Terms of Service",
            "url": "https://greeks.live/#/tos"
        },
        {
            "@type": "WebSite",
            "name": "Disclaimer",
            "url": "https://greeks.live/#/disclaimer"
        }
    ],
    "sameAs": [
        "https://x.com/greekslive",
        "https://youtube.com/@greeks_live?si=-KjT0Lkw4WUCI0tD",
        "https://t.me/greekslive_notifications",
        "https://t.me/greekslive",
        "https://pinterest.com/greekslive/"
    ],
    "makesOffer": [
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "RFQ Platform",
                "url": "https://rfq.greeks.live",
                "description": "Execute institutional-grade block trades for crypto options and futures. This platform provides deep, over-the-counter (OTC) liquidity via a professional Request for Quote system.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Lending Tools",
                "url": "https://lend.greeks.live",
                "description": "Manage crypto lending and borrowing activities to earn yield or secure loans. This suite of tools helps users analyze interest rates and manage collateralized debt positions.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Data Lab",
                "url": "https://greeks.live/#/deribit/tools/datalab/BTC",
                "description": "Analyze historical and real-time options data with advanced metrics. This tool is designed for backtesting strategies and identifying market trends through comprehensive data visualization.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Profit & Loss Analysis (PnL)",
                "url": "https://greeks.live/#/deribit/tools/pnl_analysis",
                "description": "Track and analyze the Profit and Loss (PnL) of your options portfolio. This tool provides detailed performance metrics to help traders evaluate and refine their strategies.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Position Visualization",
                "url": "https://greeks.live/#/deribit/tools/pv/BTC",
                "description": "Visualize complex options positions and their corresponding risk profiles. This tool generates payoff diagrams to help traders intuitively understand potential profit, loss, and exposure.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Options Calculator",
                "url": "https://greeks.live/#/deribit/tools/calculator",
                "description": "Calculate the theoretical price and risk parameters ('the Greeks') of crypto options. An essential tool for pricing new trades and analyzing the sensitivity of existing positions.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Greeks.live Main Platform",
                "url": "https://greeks.live/",
                "description": "The central hub for the Greeks.live suite of professional cryptocurrency options and derivatives trading tools. Access analytics, manage positions, and explore the ecosystem.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Community Forum",
                "url": "https://t.greeks.live",
                "description": "Join the official Greeks.live community. Connect with other traders, share insights, and receive the latest updates directly from the team.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Greeks.live for Deribit",
                "url": "http://deribit.greeks.live",
                "description": "A dedicated interface for trading on the Deribit exchange. This platform leverages Greeks.live's advanced analytics and tools specifically for users of Deribit's options and futures markets.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "Greeks.live for OKX",
                "url": "http://okx.greeks.live",
                "description": "A dedicated interface for trading on the OKX exchange. This platform integrates Greeks.live's powerful analytics with the OKX marketplace, focusing on its options and derivatives products.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "GLVS.AI Trading Platform",
                "url": "https://www.glvs.ai/",
                "description": "An AI-powered platform for automated crypto options trading. Leverage advanced algorithms and data-driven signals to develop and deploy sophisticated, hands-free trading strategies.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        },
        {
            "@type": "Offer",
            "itemOffered": {
                "@type": "Service",
                "name": "API Testnet & Sandbox",
                "url": "https://test.greeks.live",
                "description": "A dedicated testnet environment for developers to test their API integrations and automated trading strategies. This sandbox allows for full functionality testing without risking real funds.",
                "provider": {
                    "@id": "https://greeks.live/#organization"
                }
            }
        }
    ],
    "subOrganization": [
        {
            "@type": "Organization",
            "name": "GreeksLive HK Co., Limited",
            "email": "support@greeks.live",
            "telephone": "+852-56418949",
            "address": {
                "@type": "PostalAddress",
                "streetAddress": "Unit 11, 27/F, K. Wah Centre, 191 Java Road",
                "addressLocality": "Hong Kong",
                "addressRegion": "North Point",
                "addressCountry": "CN",
                "postalCode": "0000"
            },
            "geo": {
                "@type": "GeoCoordinates",
                "latitude": "22.2932357",
                "longitude": "114.2022026"
            },
            "image": "https://options.greeks.live/wp-content/uploads/2025/08/Wah-Centre-Hong-Kong.jpg"
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "Article",
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://options.greeks.live/question/what-are-the-primary-data-inputs-for-a-reinforcement-learning-model-in-smart-order-routing/"
    },
    "headline": "What Are the Primary Data Inputs for a Reinforcement Learning Model in Smart Order Routing? \u25b4 Question",
    "description": "Primary data inputs for an RL-based SOR are the high-fidelity sensory feeds that enable the system to perceive and strategically navigate market liquidity. \u25b4 Question",
    "url": "https://options.greeks.live/question/what-are-the-primary-data-inputs-for-a-reinforcement-learning-model-in-smart-order-routing/",
    "datePublished": "2025-08-06T17:09:08+00:00",
    "dateModified": "2025-08-06T17:09:15+00:00",
    "articleSection": [
        "Question"
    ],
    "author": {
        "@id": "https://greeks.live/#organization"
    },
    "publisher": {
        "@id": "https://greeks.live/#organization"
    },
    "image": {
        "@type": "ImageObject",
        "url": "https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-protocol-interface-optimization.jpg",
        "caption": "This abstract composition articulates institutional digital asset derivatives trading. Integrated system components, precisely aligned, embody a Principal's operational framework for RFQ protocol execution. Circular elements symbolize critical market data feeds and advanced price discovery capabilities. The sharp, curved feature represents high-fidelity execution, liquidity provision, and strategic multi-leg spread trading, ensuring capital efficiency within a robust Prime RFQ."
    },
    "keywords": [
        "Algorithmic Trading",
        "Data-Driven Decision Making",
        "Execution Algorithm",
        "Level 2 Order Book",
        "Limit Order Book",
        "Market Data",
        "Market Microstructure",
        "Order Book",
        "Order Flow Imbalance",
        "Order Routing",
        "Price Slippage",
        "Reinforcement Learning",
        "Reward Function",
        "Smart Order Routing",
        "State Representation",
        "State Space",
        "Venue Analysis"
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "WebSite",
    "url": "https://options.greeks.live/",
    "potentialAction": {
        "@type": "SearchAction",
        "target": "https://options.greeks.live/?s=search_term_string",
        "query-input": "required name=search_term_string"
    }
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "FAQPage",
    "mainEntity": [
        {
            "@type": "Question",
            "name": "How Does The Agent Perceive The Market?",
            "acceptedAnswer": {
                "@type": "Answer",
                "text": "The agent's perception is a composite view assembled from multiple data streams. Public market data, such as the limit order book, provides a direct view into the supply and demand for an asset at various price levels. Proprietary data, like historical fill rates at a specific dark pool, offers a contextual layer based on past experience. The agent's internal state, including the remaining size of the parent order, provides the immediate context for the decision at hand. The challenge lies in structuring these disparate pieces of information into a coherent and standardized format\u2014a state vector\u2014that the RL model can interpret and act upon. This process of feature selection and engineering is where deep market microstructure knowledge becomes indispensable."
            }
        },
        {
            "@type": "Question",
            "name": "What Is The Role Of Contextual And Internal Data?",
            "acceptedAnswer": {
                "@type": "Answer",
                "text": "Market data alone is insufficient. The agent requires context about its environment and itself to make intelligent trade-offs. This is where derived features and internal state variables become essential. For example, a simple volatility calculation (e.g. the standard deviation of the last 100 trade prices) provides a measure of market risk that is not immediately apparent from the raw order book. Similarly, knowing that an order has been working for a long time (an internal state variable) might cause the agent to adopt a more aggressive routing strategy to ensure completion."
            }
        }
    ]
}
```


---

**Original URL:** https://options.greeks.live/question/what-are-the-primary-data-inputs-for-a-reinforcement-learning-model-in-smart-order-routing/
