Getting started with Program interface

Getting started with Program interface

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Program is an interface that allows you to call any functionality of the program or plugins from snippets, or another plugins, etc. Program interface was created so that plugins and Snippets can call functions defined in another plugins or in the program library itself. It is not possible to call some plugin function from another plugin or […]

Add new statistical value

Add new statistical value

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

in this example we’ll extend Quant Analyzer and add a new statistical value. All statistical values such as Number of trades, Net Profit, Return / DD, Sharpe ratio,  CAGR, etc. are implemented as snippets – a pieces of Java code that implements some functionality, in our case it will compute new value in the program.This means the program […]

StatsValues constants

StatsValues constants

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Below is a list of standard constants for StatsValues ad defined in com.strategyquant.lib.results.StatsConst medthod. You can use them either directly as strings, for example: double grossProfit = stats.getDouble(“GrossProfit”); or (to avoid typo errors) using the class constants: double grossProfit = stats.getDouble(StatsConst.GROSS_PROFIT); NET_PROFIT = “NetProfit”; GROSS_PROFIT = “GrossProfit”; GROSS_LOSS = “GrossLoss”; PROFIT_FACTOR = “ProfitFactor”; NUMBER_OF_TRADES = […]

Understanding report objects

Understanding report objects

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

When new report (link MT4 statement, Myfxbook statement or backtest report) is loaded into Quant Analyzer, it is internally stored into SQResultsGroup object. We will describe various objects that are used to store values for the purposes of plugins and snippets development. Objects hierarchy SQResultsGroup SymbolsTable ResultKeysList SQResult SQOrdersList SQStats So SQResults contains list of trades […]

Plugins & Snippets

Plugins & Snippets

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Since version 4 all programs (Quant Analyzer, StrategyQuant) are based on extendable architecture that allows users to add / modify the functionality by developing or modifying code. There are two possibilities how to extend the application: Plugins plugins are java projects that implement some bigger functionality. In the new Quant Analyzer or StrategyQuant almost everything […]