Console Backtester

From FxCodeBaseWiki
Jump to: navigation, search

Introduction

Indicore SDK ConsoleBacktester (further Console Backtester) is a console application for testing strategies that are written in Lua or Javascript and can be used in FX Trading Station II with Marketscope 2.0.

Console Backtester can be used for testing at large time intervals. While, in the case of Marketscope 2.0 and Indicore SDK, the time interval for optimization is limited to 42 months (or even less if you optimize on more than one symbol or cross symbol is required for calculations), Console Backtester allows optimizing on larger time intervals depending on the available RAM capacity.

The articles provide step-by-step instructions on how to start working with Console Optimizer.

Installing ConsoleBacktester

Download the latest version of Indicore Backtest Utils

Getting Started

Before start the testing with Console Backtester, you should create a backtesting project file for your strategy in Indicore SDK.
This file will be used as an input file for Console Backtester. There are two ways to get a project file:
1. Save Backtester project in FX Trading Station
2. Use the human-friendly format described here: ConsoleBacktester documentation

You can also find samples of the projects in Samples of SDK installation folder.

Running ConsoleBacktester

Now you can start the testing with Console Backtester. To do so, run ConsoleBacktester.exe with the path to your project file as a command line parameter. For additional parameters that can be specified on the command line, please refer to the ConsoleBacktester documentation