What is the difference between 'date offset' and 'days ago'?

In short, date offset is a backtesting feature while days ago is a feature allowing access to past values of a measure. date offset runs your current filter on a specified date in the past. The results returned simulate what you would have seen with that filter on the given date. days ago allows you to refer to specific values of a measure in the past. This is useful if you are interested in finding a characteristic prior to today.

For example, suppose your filter looks for moving average crossover's today, but you are interested in only those crossovers with an RSI(14) below 50 5 days ago.


show stocks where MA(10) crossed below MA(50) and RSI(14) 5 days ago was below 50

Now, if you wanted to test this filter and view the results from 1 month ago, you would use date offset. For example:


show stocks where MA(10) crossed below MA(50)
and RSI(14) 5 days ago was below 50 and date offset is 24

Note: date offset is currently limited to around 1 year of historical data.

 

 

 


Still need help? 

*** 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 2016 - 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