QQQ. Days of the week. Yesterday's close to today's close.

Profit/loss calculated for each day of the week for the period from 3/10/1999 till 11/28/2011: go long on open, exit on close.

Mon-TueTue-WedWed-ThuThu-FriFri-Mon
PL %-11.2932.87111.78-46.44-7.85

Day of week profit/loss grouped by the year
YearMon-TueTue-WedWed-ThuThu-FriFri-Mon
199911.45-16.7535.8911.9319.77
20004.88-16.19-65.3824.7823.76
2001-14.10-18.7314.0627.05-34.20
2002-5.57-27.6218.45-15.07-8.34
200310.4220.61-6.0825.68-7.28
20046.123.327.36-0.01-5.34
20054.69-3.46-0.461.640.05
2006-1.500.2714.654.10-9.42
2007-4.687.6219.06-5.192.32
2008-18.1113.54-30.532.21-13.06
20093.131.8919.5915.466.83
201013.27-3.9915.231.45-5.94
20111.0817.21-11.672.45-5.48


Query used:
select 
case DATEPART(W, t_1.d)
      when 2 then 'Mon-Tue'
      when 3 then 'Tue-Wed'
      when 4 then 'Wed-Thu'
      when 5 then 'Thu-Fri'
      when 6 then 'Fri-Mon'
      end 'Day of Week', 
cast(sum((t.c- t_1.c)/t_1.c * 100) as decimal(10,2)) 'PL %' 
from qqq t
join qqq t_1 on t_1.id = t.id -1
group by DATEPART(W, t_1.d)
order by DATEPART(W, t_1.d)

theCrunchR | © 2011