WideBot
English
English
  • Welcome to WideBot Wiki
  • About
    • What's new?
    • Supported Exchanges
  • How to work with bot
    • How to change profile information and to add API keys and secrets
    • How to create a new bot
    • How to use any bot
    • What is an arbitrage bot
    • Bot Parameters
      • Exchange
      • Candle Size
      • Pair
      • Simultaneous Trades
    • Transaction
      • Closed Orders
      • Closed Transactions
    • What is a depth chart
    • How to use trading view chart
    • What is backtesting
    • What is warm up period
  • Strategies & Indicators
    • Strategies
      • MAcrossover
      • MAgoldenCross
      • MACDgoldencross
      • RSIsignals
      • MACDandRSI
      • RSIandMACross
      • StochSignal
      • Stochcrossover
      • MACDandStoch
      • StoCrossSignal
      • Bollinger Band
    • Indicators
      • Moving Average(MA)
      • RSI
      • MACD
      • Stochastic
      • Bollinger Band
Powered by GitBook
On this page

Was this helpful?

  1. How to work with bot

What is backtesting

Backtesting is a key component of effective trading system development. It is accomplished by reconstructing, with historical data, trades that would have occurred in the past using rules defined by a given strategy. The result offers statistics to gauge the effectiveness of the strategy.

The underlying theory is that any strategy that worked well in the past is likely to work well in the future, and conversely, any strategy that performed poorly in the past is likely to perform poorly in the future. This article takes a look at what applications are used in backtesting, what kind of data is obtained and how to put it to use.

Some rules for backtesting

  • Take into account the broad market trends in the time frame a given strategy was tested. For example, if a strategy was only backtested from 1999 to 2000, it may not fare well in a bear market. It is often a good idea to backtest over a long time frame encompassing several different types of market conditions.

  • Take into account the universe in which backtesting occurred. For example, if a broad market system is tested with a universe consisting of tech stocks, it may fail to do well in different sectors. As a general rule, if a strategy is targeted toward a specific genre of stock, limit the universe to that genre; in all other cases, maintain a large universe for testing purposes.

  • Volatility measures are extremely important to consider in developing a trading system. This is especially true for leveraged accounts, which are subjected to margin calls if their equity drops below a certain point. Traders should seek to keep volatility low to reduce risk and enable easier transition in and out of a given stock.

PreviousHow to use trading view chartNextWhat is warm up period

Last updated 4 years ago

Was this helpful?