Click here to Login





                                                   Optimization Report Metrics

  1

0
jason
2014-06-05 13:35:55


Hi-

Is there a way to add other columns to the optimization report other than the fitness value? For example drawdown or return for each tested strategy?

thanks-

jason



QuantShare
2014-06-05 15:07:29

  1

Hi Jason,

Are you referring to the "AI Optimizer" here?
Currently, it is not possible to add other metrics but you will soon in a future version.



Alexander Horn
2014-06-29 16:43:04

  0

Just reading this thread, maybe this easy workaround can help. I just add the other metrics as string after the Fitness "dot" separated by "00", then convert to double..

Example 38.120015009 means
fitness = 38, CAGR = 12, MaxDD = 15, Sharpe = 0.9;

Gives you an idea what is behind abstract fitness numbers when looking at report, and in excel "data in column" with separator "00" creates report. Note that ABS() figures are used. Based on Systemtra.de fitness script.

bool ok = true;
double[] parameters = {AnnualReturn, MaximumSystemDrawdownInpercentage, SharpeRatio * 10};
double[] weight = {10, 10, 5};
double[] worst_value = {0, -30, 0.5};
double[] best_value = {30, -10, 2};
string fitness = "";

double fit_param = 0;
double total_weight = 0;
if (ok)
{
for (int i = 0; i < parameters.Length; i++)
{
total_weight = total_weight + weight[i];
if (best_value[i] != worst_value[i])
fit_param = fit_param + weight[i] *
(Math.Max(Math.Min(parameters[i], best_value[i]), worst_value[i]) - worst_value[i]) /
(best_value[i] - worst_value[i]);
fitness = fitness + Math.Round(Math.Abs(parameters[i]),0)+"00";
}
if (total_weight != 0) Fitness = 100 * fit_param / total_weight; else Fitness = 0;
fitness = String.Concat(Math.Round(Fitness,0),".",fitness);
Fitness =Convert.ToDouble(fitness);
}
else
Fitness = 0;



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Earnings Whispers: Whisper Report
Minimum Variance Optimization with Solver V1.1- AMM
System Metrics v2.0
System Metrics
Risk Metrics

How-to Lessons
How to add custom position-based metrics to your trading system
How to add a metric in the trading system simulation report
How to calculate the average of a time series using the money man...
How to improve the performance of QuantShare databases?
How to optimize the number of positions in a trading system

Related Forum Threads
Optimization report - summary export
In/Out Sample metrics and WFA
Portfolio custom backtest metrics
Create a Metric in Simulator Report
Exporting optimized test data from trading report

Blog Posts
Trading System Analysis: Backtesting report and custom measures
Optimization in the statistical data analysis tool
Trading Optimization
Trading Forex with the commitments of traders report
QS Trading Software: Database Optimization









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.