Click here to Login





                                                   Custom Fitness function in Ranking System Manager

  0

0
Kiran
2019-03-13 01:22:48


Want to define a Fitness function to evaluate ranking systems that reports (1yr + 3yr + 5yr) returns
Fitness = perf(close,250) + perf(close,750) + perf(close,1250);

But, how do i define 1-year return in Fitness function?
The portfolio variables in custom fitness functions in Simulator Custom Metrics are not available for the Ranking System Analyzer Custom Fitness IDE.



QuantShare
2019-03-13 03:45:26

  0

You can only use the existing metrics. Use CONTROL+SPACE after "Fitness = " to get a list of available metrics.


Kiran
2019-03-13 10:52:44

  0

Which ones are existing avaialble metrics? Pl point me to these.
I don't see any - just see some Global, Internal, Bucket functions which aren't really fitness metrircs.



QuantShare
2019-03-15 07:19:43

  0

You need to use the "Buckets" class.
Click on "Help" at the bottom for the definition of the class and its properties.

Example:
Fitness = Buckets.Buckets[0].AnnualReturn; // Annual return of the first bucket
Fitness = Buckets.LastBucket.DetailsDate[0].AvgPerf; // Average performance of the first date in the last bucket



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
Super Stock Screener Ranking System
Intraday Trading System with Daily Ranking
Advanced Quotes and Custom Databases Function
RSI(3) Ranking System
Sharpe Ratio Ranking System to Lower Trading Strategies Volatilit...

How-to Lessons
How to add custom position-based metrics to your trading system
How to optimize an indicator in your trading system
How to set order type of a trading system programmatically
How to add a metric in the trading system simulation report
How to create a custom trading indicator

Related Forum Threads
Ranking System Manager and Simulator yield very different results
Ranking System Manager
Custom Fitness Function
Ranking System optimization - how to interpret?
Optimize ranking system within a trading system?

Blog Posts
Ranking System Engine
How to Backtest an Intraday Stock Trading System with EOD Ranking
Trading System Analysis: Backtesting report and custom measures
Speed Up Optimizations by Saving Ranking Data into a Custom Datab...
How to combine long, short and custom portfolio strategies within...









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.