Click here to Login





                                                   Use mass rule generator and mask to generate rule combinations

  0

0
Kiran
2015-04-13 11:05:13


I'd like to generate different AND and OR combinations of different rules in pairs and triplets ..
e.g. i have a list of 3 rules R1, R2, R3 ..

How do i use the mass rule generator and masking to generate the following rules -
If i have 8-10 rules, it's very tedious to create these par/triplet combinations.

R1
R2
R3
R1 and R2
R2 and R3
R1 and R3
R1 or R2
R2 or R3
R1 or R3
R1 and R2 and R3
R1 or R2 or R3

thanks
Kiran



QuantShare
2015-04-14 02:48:12

  0

Hi Kiran,

- Create a list of rules with your different single rules (R1, R2, R3...)
- Click on the "Mass Rules" button at the top
- Create the following masks and click on the "Create" button each time
mask
mask and mask1
mask or mask1

For triplets, you can either add them manually or use the "Mass Rules" again on the newly created rules.




Kiran
2015-04-17 13:43:30

  0

Thanks, that's helpful .. One other question -

I've used the mass rule generator to create a ruleset of 3000+ Ranking functions using the following mask
weight*(comp(mask,"percentile") + (1-weight)*(comp(mask2,"percentile") where weight steps between 0-1 in steps of 0.25.

These are a numeric ranks (not necessarily integer ranks but should be in the 0-100 range), not True/False conditions.

In the Analyzer, how do i add a Fixed Rule so that it selects the top 5-10 ranked stocks from a list of 500 symbols (S&P500)?
Would like to say "Rule"<5, but not sure how to mention the Rule in the formula?

thanks
Kiran




QuantShare
2015-04-18 02:43:57

  0

In the ranking system you cannot do that. The purpose of a ranking system analysis is to display performance for several buckets (Example: 0-10, 10-20, 20-30, ...)


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
Market Rule based on the Crossover Between Stock Close prices and...
Transform any order into a limit order selectively based on a tra...
The 2 Percent Rule
State Change Pattern in a Trading Rule
Strategy Indicator - Percent winning trades for a trading rule

How-to Lessons
How to download and use U.S. stocks earnings data
How to generate buy/sell signals from a trading system
How to download EOD quotes for active and valid stocks only
How to use the Fibonacci retracement drawing tool
How to use a custom drawing tool

Related Forum Threads
Entry and Exit in Rule manager analyzer
Rule Analyzer
How to map the chromosome to the optimal rule in PBIL optimizatio...
rule analyzer requirements
State Change Pattern in a Trading Rule

Blog Posts
Example of advanced rule
10 masks to create thousands of rules to use into your trading sy...
How to Download and Use Fundamental Data
How to Optimize a Trading System with Thousands of Billions of Co...
How to get buy and sell orders for a portfolio based on a trading...









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.