StockFetcher Forums · General Discussion · How are days ago handled?<< >>Post Follow-up
4 posts
msg #98327
Ignore sewells831
12/30/2010 2:10:55 PM

When I write a crieteria as 5 days ago, are those 5 days trading days or calendar days? For instance, since the market was closed on Dec, 24th does the days ago clause skip over that 24th date and include the 23rd instead?

3,317 posts
msg #98328
Ignore four
12/30/2010 2:22:01 PM

set{today, high}
set{1ago, high 1 day ago}
set{2ago, high 2 days ago}
set{3ago, high 3 days ago}
add column separator
add column today
add column 1ago {Mon =1ago}
add column 2ago {Fri =2ago}
add column 3ago {Thu =3ago}
offset 12/7/10 /*Tuesday*/

4 posts
msg #98331
Ignore sewells831
12/30/2010 4:33:12 PM

Although I am so new to StockFetcher that I don't yet understand what you were trying to tell me, thanks.

I was more asking a question about the default behavior of the days ago clause. Does a day have to be a day the market was open for trading for it to be considered a day in the days ago sense. I.E., when I say 30 days ago is that 30 calendar days or 30 trading days?

Thanks in advance for any information.

3,836 posts
msg #98332
Ignore Kevin_in_GA
12/30/2010 5:36:25 PM

Trading days, not calendar days.

4 posts
msg #98337
Ignore sewells831
12/31/2010 9:00:45 AM

Thanks, that's what I needed to know.

64 posts
msg #98399
Ignore Rick67
1/4/2011 2:00:52 PM

So what happens if your filter is set to XX days ago and that day happens to be a non-trading day? Does it default to the next trading day or previous trading day or return nothing?

StockFetcher Forums · General Discussion · How are days ago handled?<< >>Post Follow-up

*** Disclaimer *** 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. does not recommend particular securities., 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