Click here to Login





                                                   Request: Example of Custom Metrics addition into Rules Analyzer

  0

0
swalk10
2014-08-03 16:13:21


Is there an existing example that I could adapt from, that illustrates adding a custom metric into the Rules Analyzer Settings.
For example, it would be great to be able to review the rules results using standard metrics like Sortino or UPI.
I know custom metrics can be added, and starting with a few code blocks would be great.

Thanks!
Scott



QuantShare
2014-08-04 05:02:29

  0

Hi Scott,

Here is a blog post:
http://www.quantshare.com/sa-49-create-custom-metrics-for-the-statistical-data-analysis-tool

You can also download custom metrics from the sharing server.



swalk10
2014-08-04 18:29:35

  0

Since Sharpe and Sortino is already coded in the simulator metrics is it easy to illustrate how to add that as a custom metric for rules analyzer?
Thanks much.



QuantShare
2014-08-05 06:27:56

  0

Both tools are different. The simulator is a true portfolio backtester and Sharpe/Sortino are calculated based on equity, daily return and standard deviation.

The rules analyzer however trades all signals generated and doesn't produce any equity curve. It is mainly used for quantitative analysis.



swalk10
2014-08-05 16:09:05

  0

So, that means can not create a Sortino metric in the Rules Analyzer? In theory, you just need the rules trades entrance and exits for a simulated equity curve for each rule test, but I understand if this would be "out of scope" for an example.
Thanks anyway



QuantShare
2014-08-06 03:37:07

  0

Best Answer
You are correct. In order to create the Sortino ratio, you need to create a simulated equity curve from the trade entrances and exits (which are available).



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
Money Management System to Split Order Into Smaller Pieces
Market Timing Rules - Used to construct profitable trading strate...
System Metrics v2.0
Price Channel Trading Rules
Simple pattern detection rules using close and open prices

How-to Lessons
How to add custom position-based metrics to your trading system
How to import trades into a portfolio
How to create trading rules based on Put and Call volume data
How to create a custom trendline
How to create a custom trading indicator

Related Forum Threads
Custom Exits in the QS Rules Analyzer
Custom Outputs in Rules Analyzer
Add'l Fields in Rules Analyzer Output
Custom Metrics
Save Rules Analyzer Output

Blog Posts
Create custom metrics for the statistical data analysis tool
Introduction to the trading rules analyzer
How to Create Custom Metrics for Your Trading Positions
10 masks to create thousands of rules to use into your trading sy...
Speed Up Optimizations by Saving Ranking Data into a Custom Datab...









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.