StockFetcher Forums · General Discussion · Rank Stocks in a List for Backtesting Purposes<< >>Post Follow-up
BrysonWest
3 posts
msg #51160
Ignore BrysonWest
4/16/2007 3:22:10 PM

Hi all,

I'm trying to create a backtesting strategy. I want to buy only those stocks that are in the top two positions in a ranked list of stocks I've created. The list comes from a watch list I have of my favorite stocks, and then ranks the stocks by their performance over the last year. I control entry in my backtesting by allowing only two open positions at a time. I sort by my calculated returns and then Stockfetcher, by default, buys the top two.

Does anyone know how I can create an exit filter to sell a stock when it is no longer in the top two in that same sorted list?

many thanks
Ellen


StockFetcher Forums · General Discussion · Rank Stocks in a List for Backtesting Purposes<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.