Backtest Visualizer Version 1.0 Free Download


Product Image

0€

  • Current version1.0
  • Last updateFebruary 2017
  • Published February 2017
  • Tags

    cAlgo Backtest Free

1. Description

Scyware Backtest Visualizer is a free tool to playback a backtest on the cAlgo platform. The tool is a c# library that can be added to any source enabled cBot.

2. Features

  • Display Positions, Historical trades, Pending orders, Stoploss & TakeProfit levels
  • Navigate forward & backward on tick events & trade events
  • Seameless & easy integration
  • Control playback speed
  • Zoom in & out

3. Planned Features

Many features are planned to be released in later versions. You can suggest new features on the User comments section

  • Display overlay & seperate window Indicator data
  • Display ChartObjects draw commands
  • Export as video
  • Save and load backtests

4. Screenshots




5. Installation Instructions

To set up the Backtest visualizer c# library in cAlgo, please follow the following steps.

  • Copy the downloaded .dll file into your cAlgo API folder : cAlgo\API
  1. Launch cAlgo and open the Robot you want to backtest
  2. Add the following directive
     using Scyware.BacktestPlayer; 
  3. Add reference to the downloaded .dll c# library
  4. Make sure the Robot has its access right set to AccessRights.FullAccess mode
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
    The FullAccess mode is needed to enable the UIPermission to be able to display the GUI of the visualizer
  5. Decalre a BacktestVisualizer class field or property
    BacktestVisualizer visualizer;
  6. Instantiate the BacktestVisualizer object in the OnStart() method of the Robot
    visualizer = new BacktestVisualizer(this);
  7. Modify the OnStop() method of the Robot to call the OnStop() method of the visualizer as follows
    protected override void OnStop()
    {
       // ... any other existing code
       visualizer.OnStop();
    } 
    
  8. A minimal robot code with backtest visualizer is illustrated in the following code snippet

    using System;
    using System.Linq;
    using cAlgo.API;
    using Scyware.BacktestPlayer;
    
    namespace cAlgo
    {
        [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
        public class Scyware_Backtest_Visualizer : Robot
        {
    
            BacktestVisualizer visualizer;
    
    
    
            protected override void OnStart()
            {
    
                visualizer = new BacktestVisualizer(this);
    
            }
    
    
            protected override void OnStop()
            {
                visualizer.OnStop();
    
            }
        }
    }
        
  9. Switch to the backtest page and Start the backtest by clicking the backtest play button

6. Frequantly Asked Questions


Not yet, displaying indicators feature is planned for the next releases
No. But don't take our word for it. You can check for yourself by using a free c# disassembler and code viewer to inspect whats in the .dll file
It is because the visualizer executes its internal instructions at each tick

7. User comments


comments powered by Disqus