> For the complete documentation index, see [llms.txt](https://noah-terminal.gitbook.io/noah-terminal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noah-terminal.gitbook.io/noah-terminal/noah-quant/data-processing.md).

# Data Processing

The **Data Processing Layer** is a foundational component of the Noah Quant system, responsible for transforming raw market data into actionable insights. This layer encompasses both feature engineering and a sophisticated processing pipeline, ensuring that only the most relevant information is fed into the AI decision-making core. Through advanced data processing techniques, the system is able to extract meaningful signals from vast amounts of market data, enabling timely and accurate trading decisions.

<figure><img src="/files/XblTHKgpEiL4lAd3jD3X" alt=""><figcaption><p>Data Processing System Design</p></figcaption></figure>

### F**eature Engineering**

Feature engineering involves the creation of unique data inputs that can help the AI system recognize patterns and relationships within the market. These features are designed to capture the underlying dynamics of the market and improve the accuracy of predictive models.

* Market Microstructure Metrics: These metrics analyze the inner workings of the market, such as bid-ask spreads, order book depth, and price slippage, providing insights into the liquidity and efficiency of markets.
* Liquidity Imbalance Indicators: By monitoring shifts between supply and demand, these indicators highlight imbalances that could signal price movements, helping to identify potential market moves before they happen.
* Whale Activity Patterns: Tracking the behavior of large market participants (whales), these features detect significant trades or market manipulation, offering valuable insight into upcoming price action.
* Order Flow Imbalance Metrics: Analyzing the flow of buy and sell orders, this feature identifies potential shifts in market sentiment and liquidity, highlighting areas where price might move unexpectedly.
* Volatility Regime Detection: This feature detects periods of heightened or subdued market volatility, which can be critical for adjusting risk parameters and optimizing trading strategies in different market conditions.
* Market Efficiency Ratios: Measures the efficiency of the market based on price adjustments and trading volume. These ratios help assess the likelihood of market trends and reversals, providing a broader context for decision-making.

### Processing Pipeline

Once the features are engineered, they are processed through a sophisticated pipeline designed to clean, refine, and optimize the data for real-time decision-making. The processing pipeline ensures that only the most relevant and accurate data is fed into the trading engine.

* Real-Time Feature Computation: The system continuously computes market features in real-time, ensuring that the AI decision-making engine always has the most up-to-date data. This is critical for reacting to rapid market changes and executing trades promptly.
* Adaptive Feature Selection: The system dynamically selects the most relevant features based on current market conditions, optimizing the set of inputs for the machine learning models. This adaptive approach allows Noah Quant to focus on the most meaningful data and discard irrelevant or outdated information.
* Dimension Reduction: To handle large volumes of data, the system uses techniques like Principal Component Analysis (PCA) or t-SNE to reduce the dimensionality of the feature set. This ensures that the AI models operate efficiently while retaining the most important information.
* Noise Filtering: Raw market data can be noisy, containing irrelevant fluctuations that can mislead the AI models. Noise filtering techniques are employed to remove outliers and irrelevant data points, ensuring that only valid signals are passed through to the decision engine.
* Signal Extraction: The system extracts actionable trade signals from the processed data by identifying correlations, patterns, and anomalies that can predict market movements. These signals form the basis for the trade decisions made by Noah Quant.
* Anomaly Detection: Anomaly detection algorithms scan the data for unusual patterns, such as sudden spikes in volatility or volume, that could indicate a potential market shift. These anomalies are flagged for further analysis, helping to prevent false signals and mitigate unexpected risks.

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://noah-terminal.gitbook.io/noah-terminal/noah-quant/data-processing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
