# How Does the Backtesting Process for a Smart Trading Feature Mitigate the Risk of Curve Fitting? ▴ Question

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

---

![A specialized hardware component, showcasing a robust metallic heat sink and intricate circuit board, symbolizes a Prime RFQ dedicated hardware module for institutional digital asset derivatives. It embodies market microstructure enabling high-fidelity execution via RFQ protocols for block trade and multi-leg spread](https://options.greeks.live/wp-content/uploads/2025/08/prime-os-dedicated-hardware-for-institutional-rfq-execution.jpg)

![Modular circuit panels, two with teal traces, converge around a central metallic anchor. This symbolizes core architecture for institutional digital asset derivatives, representing a Principal's Prime RFQ framework, enabling high-fidelity execution and RFQ protocols](https://options.greeks.live/wp-content/uploads/2025/08/institutional-digital-asset-derivatives-rfq-protocol-engine-prime-os.jpg)

## Concept

![Precisely aligned forms depict an institutional trading system's RFQ protocol interface. Circular elements symbolize market data feeds and price discovery for digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-protocol-interface-optimization.jpg)

## The Inevitable Mirage of past Performance

The development of a smart trading feature begins with a foundational paradox. [Historical data](https://prime.greeks.live/area/historical-data/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite), the very substance required to teach a system, is simultaneously a source of profound distortion. A backtest, in its most basic form, is a simulation of a [trading strategy](https://prime.greeks.live/guide/why-your-execution-strategy-is-as-important-as-your-trading-strategy/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) against this historical record. It operates under the assumption that patterns observed in the past may offer some insight into future market behavior.

The process involves feeding an algorithm a stream of historical financial data, which in turn generates a series of trading signals. The aggregation of profits and losses from these simulated trades provides a performance record, a P&L that serves as the initial validation of the strategy’s potential. This procedure is fundamental, yet it is precisely here that the risk of [curve fitting](https://prime.greeks.live/area/curve-fitting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) emerges, a phenomenon where a model becomes too closely aligned with the specific nuances of the data it was trained on.

Curve fitting, also known as [overfitting](https://prime.greeks.live/area/overfitting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) or data-snooping bias, occurs when a trading model learns the random noise within a historical dataset instead of the underlying market signal. The result is a strategy that appears exceptionally profitable in backtests but fails spectacularly in live trading. This happens because the model has been optimized to the point where it perfectly explains the past, including its random fluctuations, rather than identifying a robust, repeatable market anomaly.

The system becomes a fragile construct, calibrated to a specific sequence of historical events that will never repeat in the same way. Mitigating this risk is the central challenge in quantitative strategy development, demanding a rigorous and disciplined approach to validation.

> A backtesting process mitigates curve fitting by systematically exposing a trading model to unseen data and varied market conditions, thereby validating its robustness beyond the historical data it was trained on.

The core of the issue lies in the number of parameters and the complexity of the trading rules. A strategy with numerous variables ▴ moving average periods, indicator thresholds, volatility filters ▴ can be endlessly tweaked to produce a near-perfect equity curve on a given dataset. This optimization process, while tempting, is the primary mechanism through which curve fitting takes hold. Each parameter added increases the model’s degrees of freedom, making it easier to conform to the historical data.

The challenge, therefore, is to design a [validation framework](https://prime.greeks.live/question/what-are-the-core-components-of-a-model-validation-framework-under-sr-11-7/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) that can distinguish between a genuinely effective strategy and one that is merely a product of excessive optimization. This requires moving beyond simple [backtesting](https://prime.greeks.live/area/backtesting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) and embracing a multi-faceted approach that prioritizes robustness over idealized performance.

![Intricate mechanisms represent a Principal's operational framework, showcasing market microstructure of a Crypto Derivatives OS. Transparent elements signify real-time price discovery and high-fidelity execution, facilitating robust RFQ protocols for institutional digital asset derivatives and options trading](https://options.greeks.live/wp-content/uploads/2025/07/principal-rfq-protocol-engine-for-institutional-digital-asset-derivatives.jpg)

## A Systemic View of Validation

To counteract the risk of curve fitting, the [backtesting process](https://prime.greeks.live/question/how-does-the-backtesting-process-for-an-ai-trading-bot-account-for-potential-data-overfitting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) must be reconceptualized as a system of filters designed to stress-test a strategy’s logic. The initial backtest on historical data is merely the first, most basic filter. Subsequent stages must introduce new challenges and constraints that simulate the friction and uncertainty of live markets.

This systemic approach views the strategy not as a static set of rules but as a dynamic model that must prove its resilience under a variety of conditions. The goal is to build a system that is robust enough to handle the unpredictable nature of financial markets, rather than one that is perfectly tuned to a specific historical period.

A key component of this systemic view is the inclusion of realistic market friction. Backtests that ignore transaction costs, slippage, and latency are inherently flawed. These factors represent real-world costs that can significantly erode the profitability of a trading strategy, particularly high-frequency systems. By incorporating these frictions into the backtesting engine, a more realistic performance picture emerges.

This forces the developer to create strategies with a sufficient profit margin to overcome these costs, a critical step in avoiding the development of models that are only profitable in a frictionless, theoretical environment. The process of adding these real-world constraints is a powerful antidote to the allure of the perfect, frictionless backtest.

![A futuristic circular financial instrument with segmented teal and grey zones, centered by a precision indicator, symbolizes an advanced Crypto Derivatives OS. This system facilitates institutional-grade RFQ protocols for block trades, enabling granular price discovery and optimal multi-leg spread execution across diverse liquidity pools](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-microstructure-platform.jpg)

![Beige module, dark data strip, teal reel, clear processing component. This illustrates an RFQ protocol's high-fidelity execution, facilitating principal-to-principal atomic settlement in market microstructure, essential for a Crypto Derivatives OS](https://options.greeks.live/wp-content/uploads/2025/07/institutional-crypto-derivatives-rfq-protocol-execution-engine.jpg)

## Strategy

![Metallic hub with radiating arms divides distinct quadrants. This abstractly depicts a Principal's operational framework for high-fidelity execution of institutional digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-derivatives-rfq-execution-prime-os-market-microstructure.jpg)

## Segregating the past from the Future

The most fundamental strategy for mitigating curve fitting is the strict separation of historical data into distinct sets for training and testing. This technique, known as out-of-sample (OOS) testing, is the first line of defense against overfitting. The historical data is divided into at least two segments ▴ an in-sample period, used for developing and optimizing the trading strategy, and an out-of-sample period, which is reserved for testing the strategy on data it has never seen before.

This segregation ensures that the model’s performance is evaluated in an environment that is analogous to live trading, where the future is unknown. A strategy that performs well on in-sample data but fails on out-of-sample data is a classic hallmark of curve fitting.

The implementation of OOS testing can take several forms, each with its own advantages. A simple approach is to use a single, contiguous block of data for [out-of-sample testing](https://prime.greeks.live/area/out-of-sample-testing/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite), typically the most recent portion of the dataset. For instance, if ten years of data are available, the first seven years might be used for in-sample development, and the final three years for out-of-sample validation. A more sophisticated approach is [walk-forward analysis](https://prime.greeks.live/area/walk-forward-analysis/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite), which involves a series of rolling in-sample and out-of-sample periods.

In this method, the strategy is optimized on an initial block of data, then tested on the subsequent block. This process is repeated, with the window of data moving forward in time, providing a more dynamic and robust assessment of the strategy’s performance across different market regimes.

![The abstract image visualizes a central Crypto Derivatives OS hub, precisely managing institutional trading workflows. Sharp, intersecting planes represent RFQ protocols extending to liquidity pools for options trading, ensuring high-fidelity execution and atomic settlement](https://options.greeks.live/wp-content/uploads/2025/07/rfq-protocols-for-institutional-digital-asset-derivatives-prime-os-execution.jpg)

## Comparing Data Segregation Techniques

The choice of data segregation technique depends on the nature of the trading strategy and the characteristics of the dataset. For strategies that are expected to be stable over long periods, a simple in-sample/out-of-sample split may be sufficient. For more adaptive strategies, or for markets that exhibit significant changes in behavior over time, walk-forward analysis or k-fold cross-validation may be more appropriate. The following table compares the key features of these common techniques:

| Technique | Description | Advantages | Disadvantages |
| --- | --- | --- | --- |
| Simple In-Sample/Out-of-Sample | A single split of the data into one training set and one testing set. | Easy to implement and understand. | Performance can be sensitive to the specific split point chosen. |
| Walk-Forward Analysis | A series of rolling windows, where the strategy is re-optimized on new data and tested on the subsequent period. | Simulates a more realistic trading process and tests for adaptability. | Computationally intensive and requires a longer dataset. |
| K-Fold Cross-Validation | The data is divided into ‘k’ subsets. The model is trained on k-1 subsets and tested on the remaining one, with the process repeated ‘k’ times. | Maximizes the use of the available data and provides a more stable estimate of performance. | Can be complex to implement correctly for time-series data. |

![A translucent, faceted sphere, representing a digital asset derivative block trade, traverses a precision-engineered track. This signifies high-fidelity execution via an RFQ protocol, optimizing liquidity aggregation, price discovery, and capital efficiency within institutional market microstructure](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-block-trade-high-fidelity-execution-protocol-prime-os-path.jpg)

## Stress Testing and Parameter Sensitivity

Beyond data segregation, a robust backtesting process must include a thorough analysis of the strategy’s sensitivity to its own parameters. A strategy that is only profitable for a very narrow range of parameter values is likely to be curve-fit. To assess this, [parameter sensitivity](https://prime.greeks.live/area/parameter-sensitivity/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite) analysis involves systematically varying the strategy’s parameters and observing the impact on performance.

For example, if a strategy uses a 50-period moving average, its performance should be tested with 48, 49, 51, and 52-period moving averages as well. A robust strategy will exhibit a graceful degradation in performance as its parameters are moved away from their optimal values, rather than a sudden collapse.

> A truly robust strategy demonstrates consistent performance across a range of parameters and market conditions, not just at a single, optimized point.

Another critical element of the strategic framework is [Monte Carlo simulation](https://prime.greeks.live/area/monte-carlo-simulation/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite). This technique involves introducing randomness into the backtesting process to assess the range of possible outcomes. For example, the order of trades can be shuffled, or small random variations can be added to the historical price data. By running thousands of these simulations, a distribution of possible equity curves is generated.

This provides a much richer understanding of the strategy’s risk profile than a single, deterministic backtest. If a significant portion of the Monte Carlo simulations result in poor performance, it is a strong indication that the strategy’s historical success may have been due to luck rather than skill.

![A sleek, modular institutional grade system with glowing teal conduits represents advanced RFQ protocol pathways. This illustrates high-fidelity execution for digital asset derivatives, facilitating private quotation and efficient liquidity aggregation](https://options.greeks.live/wp-content/uploads/2025/08/institutional-digital-asset-derivatives-ecosystem-powering-high-fidelity-rfq-execution-and-optimal-liquidity-discovery.jpg)

![An abstract system depicts an institutional-grade digital asset derivatives platform. Interwoven metallic conduits symbolize low-latency RFQ execution pathways, facilitating efficient block trade routing](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-prime-os-rfq-execution-engine.jpg)

## Execution

![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)

## The Foundation of Data Integrity

The execution of a rigorous backtesting process begins with the quality of the underlying data. A backtest is only as reliable as the historical data it is built upon. Using inaccurate, incomplete, or biased data will inevitably lead to misleading results, regardless of the sophistication of the validation techniques employed. Therefore, the first step in the execution phase is a meticulous process of data acquisition, cleaning, and validation.

This involves sourcing data from reputable providers, checking for errors such as missing bars or incorrect timestamps, and adjusting for corporate actions like stock splits and dividends. For equity strategies, it is also crucial to use survivorship-bias-free data, which includes delisted stocks, to avoid an overly optimistic view of market performance.

The granularity of the data is another critical consideration. While daily data may be sufficient for long-term strategies, higher-frequency systems require tick-level or even order-book data to accurately model market microstructure effects. The process of building a robust backtesting engine must account for these nuances.

The engine should be capable of simulating order execution with a high degree of realism, including factors like queue position, fill probability, and the impact of the strategy’s own trades on the market. This level of detail is essential for accurately assessing the performance of strategies that rely on capturing small, fleeting opportunities.

![Interconnected translucent rings with glowing internal mechanisms symbolize an RFQ protocol engine. This Principal's Operational Framework ensures High-Fidelity Execution and precise Price Discovery for Institutional Digital Asset Derivatives, optimizing Market Microstructure and Capital Efficiency via Atomic Settlement](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-engine-high-fidelity-execution.jpg)

## Common Data Issues and Mitigation

The following table outlines some of the most common data integrity issues and the steps required to mitigate them. A systematic approach to data cleaning is a non-negotiable prerequisite for any meaningful backtesting.

| Data Issue | Description | Mitigation Strategy |
| --- | --- | --- |
| Survivorship Bias | The dataset only includes companies that are still active, excluding those that have gone bankrupt or been acquired. | Source data from providers that offer survivorship-bias-free datasets. |
| Look-Ahead Bias | The backtest inadvertently uses information that would not have been available at the time of the trade. | Ensure that all calculations and decisions are based solely on data available up to the point of the simulated trade. |
| Data Gaps | Missing data points or entire periods within the historical record. | Use data interpolation techniques for small gaps, or exclude the affected periods for larger ones. |
| Inaccurate Timestamps | Data points are assigned to the wrong time, particularly problematic for high-frequency data. | Cross-reference data with multiple sources and use a consistent time-stamping convention. |

![A central, metallic hub anchors four symmetrical radiating arms, two with vibrant, textured teal illumination. This depicts a Principal's high-fidelity execution engine, facilitating private quotation and aggregated inquiry for institutional digital asset derivatives via RFQ protocols, optimizing market microstructure and deep liquidity pools](https://options.greeks.live/wp-content/uploads/2025/07/prime-brokerage-digital-asset-rfq-execution-engine-microstructure.jpg)

## Building a Resilient Validation Framework

With a foundation of clean data, the next step is to construct a multi-layered validation framework. This framework should be designed to systematically challenge the strategy from multiple angles. The following is a procedural outline for such a framework:

- **Initial In-Sample Backtest** ▴ The strategy is developed and optimized on the in-sample portion of the data. This phase is for hypothesis generation and initial parameter tuning.

- **Out-of-Sample Validation** ▴ The optimized strategy is then run, without any further changes, on the out-of-sample data. The performance in this phase is a more realistic indicator of future potential.

- **Walk-Forward Analysis** ▴ The strategy is subjected to a rolling walk-forward test to assess its adaptability to changing [market conditions](https://prime.greeks.live/question/under-what-market-conditions-would-an-rfq-be-preferable-to-a-lit-market-execution-for-a-large-order/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite). This provides a measure of its robustness over time.

- **Parameter Sensitivity Mapping** ▴ The area around the optimal parameters is explored to ensure the strategy is not overly sensitive to small changes. A 3D plot of performance against two key parameters can be a powerful visualization tool.

- **Monte Carlo Simulation** ▴ Thousands of simulations are run with slight variations in the input data or trade execution to generate a distribution of possible outcomes. This helps to quantify the role of luck in the strategy’s performance.

- **Cross-Market Validation** ▴ The strategy is tested on correlated markets to see if the underlying logic is sound. For example, a strategy developed for the S&P 500 should also show some efficacy on the Nasdaq 100 or other major equity indices.

> A robust validation framework is not a single test, but a comprehensive suite of diagnostics designed to uncover a strategy’s weaknesses before capital is put at risk.

The final stage of the execution process is a qualitative review of the strategy’s logic. It is essential to understand why the strategy works. A strategy that relies on a sound economic or behavioral rationale is more likely to be robust than one that is a black box of optimized parameters.

This involves a deep dive into the individual trades generated by the system, looking for patterns and understanding the market conditions that lead to profits and losses. This human oversight is a critical complement to the quantitative rigor of the backtesting process, providing a final sanity check before the strategy is considered for live deployment.

![A transparent sphere, bisected by dark rods, symbolizes an RFQ protocol's core. This represents multi-leg spread execution within a high-fidelity market microstructure for institutional grade digital asset derivatives, ensuring optimal price discovery and capital efficiency via Prime RFQ](https://options.greeks.live/wp-content/uploads/2025/07/prime-os-digital-asset-derivatives-rfq-protocols-high-fidelity-execution.jpg)

## References

- Hsu, J. & Kalesnik, V. (2014). Finding Smart Beta in the Factor Zoo. Research Affiliates.

- Harvey, C. R. & Liu, Y. (2015). Backtesting. The Journal of Portfolio Management, 41(5), 13-28.

- Aronson, D. (2007). Evidence-Based Technical Analysis ▴ Applying the Scientific Method and Statistical Inference to Trading Signals. John Wiley & Sons.

- Pardo, R. (2008). The Evaluation and Optimization of Trading Strategies. John Wiley & Sons.

- Bailey, D. H. Borwein, J. M. Lopez de Prado, M. & Zhu, Q. J. (2014). Pseudo-Mathematics and Financial Charlatanism ▴ The Effects of Backtest Overfitting on Out-of-Sample Performance. Notices of the American Mathematical Society, 61(5), 458-471.

- White, H. (2000). A Reality Check for Data Snooping. Econometrica, 68(5), 1097-1126.

- Romano, J. P. & Wolf, M. (2005). Stepwise Multiple Testing as Formalized Data Snooping. Econometrica, 73(4), 1237-1282.

- Timmermann, A. & Granger, C. W. J. (2004). Efficient Market Hypothesis and Forecasting. International Journal of Forecasting, 20(1), 15-27.

![A symmetrical, angular mechanism with illuminated internal components against a dark background, abstractly representing a high-fidelity execution engine for institutional digital asset derivatives. This visualizes the market microstructure and algorithmic trading precision essential for RFQ protocols, multi-leg spread strategies, and atomic settlement within a Principal OS framework, ensuring capital efficiency](https://options.greeks.live/wp-content/uploads/2025/07/precision-execution-engine-for-institutional-digital-asset-derivatives-rfq.jpg)

## Reflection

![Metallic rods and translucent, layered panels against a dark backdrop. This abstract visualizes advanced RFQ protocols, enabling high-fidelity execution and price discovery across diverse liquidity pools for institutional digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/precision-market-microstructure-for-institutional-digital-asset-derivatives-rfq.jpg)

## Beyond the Backtest a Framework for Continuous Validation

The knowledge gained from a rigorous backtesting process is a critical component of a larger system of intelligence. It provides a structured, evidence-based foundation for strategy development, but it is not the final word. The true test of a trading feature comes from its performance in the live market, an environment that is constantly evolving.

Therefore, the principles of robust validation ▴ stress testing, out-of-sample evaluation, and a healthy skepticism of historical performance ▴ must be integrated into the ongoing monitoring and management of the strategy. The backtest is not a one-time event, but the beginning of a continuous process of learning and adaptation.

Ultimately, the goal of this entire process is to build a system that can consistently identify and capitalize on market opportunities while managing risk. This requires a deep understanding of the tools of [quantitative finance](https://prime.greeks.live/area/quantitative-finance/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite), a disciplined approach to validation, and a commitment to continuous improvement. By embracing this holistic view, a trading operation can move beyond the simplistic pursuit of idealized equity curves and toward the development of a truly robust and resilient investment process. The framework for mitigating curve fitting is a framework for building a lasting edge in the competitive landscape of the financial markets.

![A transparent glass sphere rests precisely on a metallic rod, connecting a grey structural element and a dark teal engineered module with a clear lens. This symbolizes atomic settlement of digital asset derivatives via private quotation within a Prime RFQ, showcasing high-fidelity execution and capital efficiency for RFQ protocols and liquidity aggregation](https://options.greeks.live/wp-content/uploads/2025/07/architecting-high-fidelity-execution-for-institutional-digital-asset-derivatives-rfq-protocols-and-systemic-liquidity-aggregation.jpg)

## Glossary

<a href="https://prime.greeks.live/guide/why-your-execution-strategy-is-as-important-as-your-trading-strategy/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A metallic sphere, symbolizing a Prime Brokerage Crypto Derivatives OS, emits sharp, angular blades. These represent High-Fidelity Execution and Algorithmic Trading strategies, visually interpreting Market Microstructure and Price Discovery within RFQ protocols for Institutional Grade Digital Asset Derivatives](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-intelligence-layer-system.jpg)

## Trading Strategy

Master your market interaction; superior execution is the ultimate source of trading alpha. </a><a href="https://prime.greeks.live/area/historical-data/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Four sleek, rounded, modular components stack, symbolizing a multi-layered institutional digital asset derivatives trading system. Each unit represents a critical Prime RFQ layer, facilitating high-fidelity execution, aggregated inquiry, and sophisticated market microstructure for optimal price discovery via RFQ protocols](https://options.greeks.live/wp-content/uploads/2025/07/modular-institutional-crypto-derivatives-trading-system-components.jpg)

## Historical Data

Meaning ▴ Historical Data refers to a structured collection of recorded market events and conditions from past periods, comprising time-stamped records of price movements, trading volumes, order book snapshots, and associated market microstructure details. </a><a href="https://prime.greeks.live/area/curve-fitting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Geometric shapes symbolize an institutional digital asset derivatives trading ecosystem. A pyramid denotes foundational quantitative analysis and the Principal's operational framework](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-derivatives-rfq-execution-system-microstructure.jpg)

## Curve Fitting

Meaning ▴ Curve fitting is the computational process of constructing a mathematical function that optimally approximates a series of observed data points, aiming to discern and model the underlying relationships within empirical datasets for descriptive, predictive, or interpolative purposes. </a><a href="https://prime.greeks.live/area/overfitting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Intersecting translucent aqua blades, etched with algorithmic logic, symbolize multi-leg spread strategies and high-fidelity execution. Positioned over a reflective disk representing a deep liquidity pool, this illustrates advanced RFQ protocols driving precise price discovery within institutional digital asset derivatives market microstructure](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-protocols-optimized-algorithmic-execution-microstructure-for-price-discovery.jpg)

## Overfitting

Meaning ▴ Overfitting denotes a condition in quantitative modeling where a statistical or machine learning model exhibits strong performance on its training dataset but demonstrates significantly degraded performance when exposed to new, unseen data. </a><a href="https://prime.greeks.live/question/what-are-the-core-components-of-a-model-validation-framework-under-sr-11-7/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Interlocking transparent and opaque components on a dark base embody a Crypto Derivatives OS facilitating institutional RFQ protocols. This visual metaphor highlights atomic settlement, capital efficiency, and high-fidelity execution within a prime brokerage ecosystem, optimizing market microstructure for block trade liquidity](https://options.greeks.live/wp-content/uploads/2025/07/modular-framework-for-crypto-derivatives-os-rfq-protocol-aggregation.jpg)

## Validation Framework

A robust model validation framework under SR 11-7 integrates conceptual soundness, ongoing monitoring, and outcomes analysis. </a><a href="https://prime.greeks.live/area/backtesting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Abstractly depicting an Institutional Digital Asset Derivatives ecosystem. A robust base supports intersecting conduits, symbolizing multi-leg spread execution and smart order routing](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-engine-optimization.jpg)

## Backtesting

Meaning ▴ Backtesting is the application of a trading strategy to historical market data to assess its hypothetical performance under past conditions. </a><a href="https://prime.greeks.live/question/how-does-the-backtesting-process-for-an-ai-trading-bot-account-for-potential-data-overfitting/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![An abstract system visualizes an institutional RFQ protocol. A central translucent sphere represents the Prime RFQ intelligence layer, aggregating liquidity for digital asset derivatives](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-engine-maximizing-liquidity.jpg)

## Backtesting Process

A robust backtesting process validates an AI bot by systematically attempting to falsify its edge through out-of-sample data and statistical stress tests. </a><a href="https://prime.greeks.live/area/walk-forward-analysis/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A sleek, institutional-grade RFQ engine precisely interfaces with a dark blue sphere, symbolizing a deep latent liquidity pool for digital asset derivatives. This robust connection enables high-fidelity execution and price discovery for Bitcoin Options and multi-leg spread strategies](https://options.greeks.live/wp-content/uploads/2025/07/institutional-crypto-derivatives-rfq-engine-linking-deep-liquidity-pools.jpg)

## Walk-Forward Analysis

Meaning ▴ Walk-Forward Analysis is a robust validation methodology employed to assess the stability and predictive capacity of quantitative trading models and parameter sets across sequential, out-of-sample data segments. </a><a href="https://prime.greeks.live/area/out-of-sample-testing/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![A stylized depiction of institutional-grade digital asset derivatives RFQ execution. A central glowing liquidity pool for price discovery is precisely pierced by an algorithmic trading path, symbolizing high-fidelity execution and slippage minimization within market microstructure via a Prime RFQ](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-high-fidelity-execution-1.jpg)

## Out-Of-Sample Testing

Meaning ▴ Out-of-sample testing is a rigorous validation methodology used to assess the performance and generalization capability of a quantitative model or trading strategy on data that was not utilized during its development, training, or calibration phase. </a><a href="https://prime.greeks.live/area/parameter-sensitivity/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Precision-engineered institutional-grade Prime RFQ modules connect via intricate hardware, embodying robust RFQ protocols for digital asset derivatives. This underlying market microstructure enables high-fidelity execution and atomic settlement, optimizing capital efficiency](https://options.greeks.live/wp-content/uploads/2025/08/precision-engineered-prime-os-modules-enabling-institutional-digital-asset-derivatives-rfq-protocols-for-best-execution.jpg)

## Parameter Sensitivity

Meaning ▴ Parameter sensitivity quantifies the degree to which a system's output, such as a derivative's valuation or an algorithm's execution performance, changes in response to incremental adjustments in its input variables. </a><a href="https://prime.greeks.live/area/monte-carlo-simulation/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![Interconnected metallic rods and a translucent surface symbolize a sophisticated RFQ engine for digital asset derivatives. This represents the intricate market microstructure enabling high-fidelity execution of block trades and multi-leg spreads, optimizing capital efficiency within a Prime RFQ](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-engine-microstructure-1.jpg)

## Monte Carlo Simulation

Meaning ▴ Monte Carlo Simulation is a computational method that employs repeated random sampling to obtain numerical results. </a><a href="https://prime.greeks.live/question/under-what-market-conditions-would-an-rfq-be-preferable-to-a-lit-market-execution-for-a-large-order/?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)

## Market Conditions

An RFQ is preferable for large orders in illiquid or volatile markets to minimize price impact and ensure execution certainty. </a><a href="https://prime.greeks.live/area/quantitative-finance/?utm_source=options.greeks.live&utm_medium=referral&utm_campaign=satellite" class="glossary-item-box">
![The abstract metallic sculpture represents an advanced RFQ protocol for institutional digital asset derivatives. Its intersecting planes symbolize high-fidelity execution and price discovery across complex multi-leg spread strategies](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-rfq-execution-microstructure-optimization.jpg)

## Quantitative Finance

Meaning ▴ Quantitative Finance applies advanced mathematical, statistical, and computational methods to financial problems. </a>

**Tags:** [Algorithmic Trading](https://options.greeks.live/area/algorithmic-trading/), [Data Snooping](https://options.greeks.live/area/data-snooping/), [Smart Trading](https://options.greeks.live/area/smart-trading/), [Parameter Sensitivity](https://options.greeks.live/area/parameter-sensitivity/), [Monte Carlo Simulation](https://options.greeks.live/area/monte-carlo-simulation/), [Out-of-Sample Testing](https://options.greeks.live/area/out-of-sample-testing/)	

## Discover More

- 
### [How Can Nested Cross Validation Be Used to Optimize the Training Window Size?](https://options.greeks.live/question/how-can-nested-cross-validation-be-used-to-optimize-the-training-window-size/)
![A transparent sphere on an inclined white plane represents a Digital Asset Derivative within an RFQ framework on a Prime RFQ. A teal liquidity pool and grey dark pool illustrate market microstructure for high-fidelity execution and price discovery, mitigating slippage and latency.](https://options.greeks.live/wp-content/uploads/2025/07/principal-rfq-digital-asset-derivatives-execution-protocols-optimize-microstructure.jpg)

Nested cross-validation systematically optimizes training window size as a meta-hyperparameter, yielding robust, unbiased model performance estimates.

- 
### [What Are the Best Practices for Backtesting a Predictive Dealer Scorecard Model?](https://options.greeks.live/question/what-are-the-best-practices-for-backtesting-a-predictive-dealer-scorecard-model/)
![Abstract geometric planes, translucent teal representing dynamic liquidity pools and implied volatility surfaces, intersect a dark bar. This signifies FIX protocol driven algorithmic trading and smart order routing. Opaque grey forms denote the Principal's operational framework ensuring high-fidelity execution within market microstructure for digital asset derivatives.](https://options.greeks.live/wp-content/uploads/2025/07/optimized-institutional-digital-asset-derivatives-rfq-liquidity-aggregation.jpg)

A predictive dealer scorecard model's backtesting is a rigorous, data-driven process for validating its forecasting accuracy.

- 
### [How Can Walk-Forward Optimization Prevent the Overfitting of a Slippage Model to Historical Data?](https://options.greeks.live/question/how-can-walk-forward-optimization-prevent-the-overfitting-of-a-slippage-model-to-historical-data/)
![Sleek, modular infrastructure for institutional digital asset derivatives trading. Its intersecting elements symbolize integrated RFQ protocols, facilitating high-fidelity execution and precise price discovery across complex multi-leg spreads. This represents a Prime RFQ intelligence layer for optimal capital efficiency and reduced slippage in volatile markets.](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-system-optimizing-high-fidelity-block-trade-liquidity-and-multi-leg-spread-precision.jpg)

Walk-forward optimization validates a slippage model on unseen data sequentially, ensuring it adapts to new market conditions.

- 
### [How Do You Develop a Robust Testing Environment for New Algorithmic Trading Strategies?](https://options.greeks.live/question/how-do-you-develop-a-robust-testing-environment-for-new-algorithmic-trading-strategies/)
![Metallic hub with radiating arms divides distinct quadrants. This abstractly depicts a Principal's operational framework for high-fidelity execution of institutional digital asset derivatives. It signifies RFQ protocols across diverse liquidity pools, optimizing price discovery within market microstructure for best execution.](https://options.greeks.live/wp-content/uploads/2025/07/digital-asset-derivatives-rfq-execution-prime-os-market-microstructure.jpg)

A robust testing environment is an operational laboratory for quantifying a strategy's resilience before capital deployment.

- 
### [A Guide to Backtesting and Optimizing Mean Reversion Strategies](https://options.greeks.live/guide/a-guide-to-backtesting-and-optimizing-mean-reversion-strategies/)
![Intersecting concrete structures symbolize the robust Market Microstructure underpinning Institutional Grade Digital Asset Derivatives. Dynamic spheres represent Liquidity Pools and Implied Volatility. A sophisticated cylindrical Crypto Derivatives OS facilitates High-Fidelity Execution through RFQ protocols, enabling Block Trade and Multi-Leg Spread strategies, ensuring Capital Efficiency.](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-framework-optimizing-rfq-execution-and-liquidity-for-principal-trading.jpg)

Transform market noise into a predictable source of returns through systematic, data-driven mean reversion strategies.

- 
### [A Professional’s Guide to Eliminating Backtesting Biases](https://options.greeks.live/guide/a-professionals-guide-to-eliminating-backtesting-biases/)
![A sleek, black and beige institutional-grade device, featuring a prominent optical lens for real-time market microstructure analysis and an open modular port. This RFQ protocol engine facilitates high-fidelity execution of multi-leg spreads, optimizing price discovery for digital asset derivatives and accessing latent liquidity.](https://options.greeks.live/wp-content/uploads/2025/08/institutional-digital-asset-derivatives-rfq-execution-engine-for-high-fidelity-price-discovery-and-latent-liquidity-aggregation-across-multi-leg-spreads.jpg)

Transform your backtesting from a flawed rearview mirror into a high-fidelity simulator of future performance.

- 
### [How Can out of Sample Testing Prevent Model Overfitting?](https://options.greeks.live/question/how-can-out-of-sample-testing-prevent-model-overfitting/)
![A sophisticated metallic instrument, a precision gauge, indicates a calibrated reading, essential for RFQ protocol execution. Its intricate scales symbolize price discovery and high-fidelity execution for institutional digital asset derivatives. Teal illumination suggests dark liquidity aggregation, supporting the principal's operational framework and systemic risk mitigation via an intelligence layer.](https://options.greeks.live/wp-content/uploads/2025/07/institutional-digital-asset-derivatives-rfq-execution-platform.jpg)

Out-of-sample testing validates a model's predictive integrity by forcing it to perform on unseen data, ensuring its edge is systemic.

- 
### [How Can Survivorship Bias Skew Backtesting Results for Trading Strategies?](https://options.greeks.live/question/how-can-survivorship-bias-skew-backtesting-results-for-trading-strategies/)
![Abstract composition features two intersecting, sharp-edged planes—one dark, one light—representing distinct liquidity pools or multi-leg spreads. Translucent spherical elements, symbolizing digital asset derivatives and price discovery, balance on this intersection, reflecting complex market microstructure and optimal RFQ protocol execution.](https://options.greeks.live/wp-content/uploads/2025/07/precision-digital-asset-derivatives-rfq-execution-market-microstructure.jpg)

Survivorship bias skews backtesting by creating an optimistic illusion of performance, systematically erasing the impact of failed assets.

- 
### [Mastering Backtesting for Consistent Returns in Volatile Markets](https://options.greeks.live/guide/mastering-backtesting-for-consistent-returns-in-volatile-markets/)
![A stylized spherical system, symbolizing an institutional digital asset derivative, rests on a robust Prime RFQ base. Its dark core represents a deep liquidity pool for algorithmic trading. A blue band signifies high-fidelity execution protocols, ensuring optimal price discovery and capital efficiency within market microstructure, enhancing alpha generation.](https://options.greeks.live/wp-content/uploads/2025/08/institutional-grade-rfq-protocol-engine-facilitating-best-execution-and-liquidity-aggregation-for-digital-asset-derivatives.jpg)

Transform trading intuition into a statistical edge with rigorous, professional-grade strategy backtesting.

---

## 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": "How Does the Backtesting Process for a Smart Trading Feature Mitigate the Risk of Curve Fitting?",
            "item": "https://options.greeks.live/question/how-does-the-backtesting-process-for-a-smart-trading-feature-mitigate-the-risk-of-curve-fitting/"
        }
    ]
}
```

```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/how-does-the-backtesting-process-for-a-smart-trading-feature-mitigate-the-risk-of-curve-fitting/"
    },
    "headline": "How Does the Backtesting Process for a Smart Trading Feature Mitigate the Risk of Curve Fitting? \u25b4 Question",
    "description": "A robust backtesting process mitigates curve fitting by systematically validating a strategy's logic against unseen data and stress tests. \u25b4 Question",
    "url": "https://options.greeks.live/question/how-does-the-backtesting-process-for-a-smart-trading-feature-mitigate-the-risk-of-curve-fitting/",
    "datePublished": "2025-08-15T13:03:25+00:00",
    "dateModified": "2025-08-15T13:03:27+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-execution-hub-1.jpg",
        "caption": "This intricate metallic structure with a central teal sphere illustrates a sophisticated RFQ protocol engine, pivotal for institutional options trading of digital asset derivatives. This advanced Crypto Derivatives OS facilitates precise price discovery and algorithmic trading strategies, ensuring best execution with minimal latency. It meticulously manages portfolio margin and mitigates information leakage, serving as a robust intelligence layer against systemic risk."
    },
    "keywords": [
        "Algorithmic Trading",
        "Backtesting",
        "Curve Fitting",
        "Data Snooping",
        "Historical Data",
        "Monte Carlo Simulation",
        "Out-of-Sample Testing",
        "Overfitting",
        "Parameter Sensitivity",
        "Quantitative Finance",
        "Risk Management",
        "Smart Trading",
        "Survivorship Bias",
        "Walk-Forward 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"
    }
}
```


---

**Original URL:** https://options.greeks.live/question/how-does-the-backtesting-process-for-a-smart-trading-feature-mitigate-the-risk-of-curve-fitting/
