Click here to Login





                                                   How to make a changing stock universe

  0

0
Chaim6
2014-02-02 11:35:44


I am trying to eliminate untradeable stocks from my backtesting. The problem is that the list of untradeable stocks varies with time, for example as the marketcap grows or shrinks. (A market cap that is too small is untradeable.) Therefore it is not helpful to remove all stocks that are not tradeable today. How do we tell the ranking system analyzer and the other backtesting tools to remove all stocks from consideration based on specific rules?

Thanks.



QuantShare
2014-02-03 12:58:37

  0

Just add the filter rule to the "buy" variable.

Example:
a = rsi(14) > 70;
filter = close > 10;
buy = a and filter;



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
Nepal Market - Daily Stock Quotes
Market Rule based on the Crossover Between Stock Close prices and...
Average Stock Performance for each U.S Exchange
Stock Bounces off its Previous Resistance or Support Line
Stock Picking Trading Rules

How-to Lessons
How to plot the number of stock tweets per day
How to hide stock data outside of regular trading hours
How to plot a stock using different periods in the same chart
How to drag & drop a stock to a static watchlist
How to display the number of notes per stock

Related Forum Threads
How to download Time and Sales data for a particular stock
SCRIPT: Stock Price Autodownloader v1.0
handle stock split during simulation if close price as filter
Is Quantshare Ranking Reversed, or did I make a mistake?
Stock or industry relative strenght : Indicator or composite ?

Blog Posts
How to build and backtest a robust stock trading system
How to Backtest an Intraday Stock Trading System with EOD Ranking
How to Switch On/Off Trading Rules in Your Stock Trading System
Sentiment Analysis: How to measure the sentiment score of your st...
How to predict and trade the stock market using pivot points









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.