MarketTick Header

Easy-To-Use tick level market data

Backtesting is an essential method for validating the functionality of a new trading strategy—without risking real money in live trading. Even established strategies should be reviewed regularly and adjusted to new market conditions based on the results from market replays.

However, a critical mistake is often made in this process

The tests are conducted on aggregated or incomplete datasets, or over too short a time period. This leads to distorted results and can cause significant losses in real trading.

Picture that shows Slippage

Precision
Only by backtesting with reliable historical tick data over many years can distortions caused by overfitting, slippage, and spreads be reliably ruled out.

Diligence
Which strategies are tested is up to the user. However, anyone seeking meaningful results should allocate enough time for thorough testing and experiment with various techniques and combinations. Those who do not approach backtesting with the utmost diligence are likely to face difficulties in live trading as well.

Picture that shows Spread

And don’t forget the broker fees per trade. This has nothing to do with the market data, but it also significantly influences the backtest results!


Tick Data – A Must for Precise Analysis

Tick data from at least the past 5 years is required, including precise timestamps as well as Level 1 and Level 2 information. The data format must be clearly structured (CSV, JSON, XML) to ensure seamless integration with common backtesting software.

(The data is provided in CSV files following the international RFC 4180 standard)

Logo MarketTick without Name

Level 1 + 2 tick data or 1-min candlesticks are available


The AI Hype – Those Who Don’t Act Now Will Be Left Behind

With the development of increasingly powerful AI models — especially those specialized in time series analysis such as Recurrent Neural Networks (RNNs) — new opportunities are emerging in algorithmic trading. Optimizing a trading strategy through AI promises significantly better results than traditional static methods.

AI enables the processing, analysis, and evaluation of far larger volumes of data than was previously possible. It is therefore only logical to incorporate the untapped potential of Level 2 data into the analysis, gaining a decisive edge over the majority of traders.

Picture that shows the difference between Candlesticks, Level1, Level2

This is followed by an introduction to backtesting with and without AI

Laptop with a dashboard showing analysis and chart data during backtesting

What is backtesting?

Backtesting in stock trading is the process of testing a trading strategy against historical market data to assess its effectiveness and profitability. The purpose of backtesting is to verify how a trading strategy would have worked in the past under real market conditions before applying it in practice. The goal is to optimize the strategy to generate a higher profit.
Overall, backtesting is an important tool in trading to test hypotheses and build confidence in a strategy before investing real capital. In general, the more granular and detailed the data, the better the result!

Static Strategy

Statistical model trading uses methods and algorithms to analyze financial markets and make trading decisions. These models rely on historical price data, market indicators, and statistical techniques to identify patterns and make predictions. Commonly used methods include time series analysis, regression models, and static rules. The goal is to respond to market changes more quickly and efficiently than using pure “gut feeling.” Automating trading decisions can reduce trading costs, shorten response time, and eliminate human error, making trading more efficient and cost-effective.

Blue background with a Bitcoin Futures chart and a pen pointing to a steep rising point.
Financial chart with red and green Level2 tick data and price history of a futures contract.

Improvement through AI models

Machine learning (ML) offers numerous advantages in stock trading. It enables the analysis of large amounts of data and the detection of complex patterns that are often not captured by traditional statistical methods. ML algorithms can continuously improve by learning from new market data and adjusting their predictions, resulting in better performance and accuracy. They also enable the development of flexible and adaptive trading strategies that respond to rapidly changing market conditions.

Training of AI models

Training an artificial intelligence takes place in several steps, depending on the type of model and the method used. In general, the training process can be divided into the following phases:

  1. Data preparation: First, large amounts of normalized data are needed to train the AI.
  2. Training: During training, the AI ​​learns to recognize patterns in the data. This is done by applying algorithms that compare the input data with the expected outputs (goals).
  3. Evaluation: To ensure that the AI ​​works well, the model is tested with a separate dataset that was not used during training (test data).
  4. Continuous learning: After training, the AI ​​can be deployed in a real-world environment. However, in many cases, the model will continue to be fed with new data to improve its performance and adapt to changes in the data.
Hands writing notes on paper to develop a trading strategy, surrounded by laptops and writing utensils.