{"id":2096043,"date":"2019-01-02T13:09:22","date_gmt":"2019-01-02T07:39:22","guid":{"rendered":"http:\/\/stockviz.biz\/index.php\/?p=2096043"},"modified":"2019-01-03T14:17:58","modified_gmt":"2019-01-03T08:47:58","slug":"streaks-part-i","status":"publish","type":"post","link":"https:\/\/stockviz.biz\/index.php\/2019\/01\/02\/streaks-part-i\/","title":{"rendered":"Streaks, Part I"},"content":{"rendered":"<p>A streak of returns is an unbroken set of up or down days, weeks or months. For example, if the market went up on each of the last four days, then it is a streak of 4 daily returns. Can streaks predict the direction of subsequent returns? Before we answer that, let us look at the density plots of up and down streaks over different periods of time. In the charts below, green lines represent positive returns and red represent the negative ones.<\/p>\n<p>Distribution of NIFTY 50 daily return streaks:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/technical\/streaks\/nifty50.Daily.streak.density.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/technical\/streaks\/nifty50.Daily.streak.density.png\" width=\"3600\" height=\"1800\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>Distribution of NIFTY 50 weekly return streaks:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/technical\/streaks\/nifty50.Weekly.streak.density.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/technical\/streaks\/nifty50.Weekly.streak.density.png\" width=\"3600\" height=\"1800\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>Distribution of NIFTY 50 monthly return streaks:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/technical\/streaks\/nifty50.Monthly.streak.density.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/technical\/streaks\/nifty50.Monthly.streak.density.png\" width=\"3600\" height=\"1800\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>Looks like something could be done with monthly returns. Click through to <a href=\"https:\/\/stockviz.biz\/2019\/01\/03\/streaks-part-ii-backtest\/\">Part II<\/a> for a quick backtest!<\/p>\n<p>Code and images are on <a href=\"https:\/\/github.com\/stockviz\/blog\/tree\/master\/technical\/streaks\" rel=\"noopener\" target=\"_blank\">github<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A streak of returns is an unbroken set of up or down days, weeks or months. For example, if the market went up on each of the last four days, then it is a streak of 4 daily returns. Can streaks predict the direction of subsequent returns? Before we answer that, let us look at &hellip; <\/p>\n","protected":false},"author":2,"featured_media":2091073,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3471],"tags":[2761],"class_list":["post-2096043","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-investing-insight","tag-quant","entry"],"_links":{"self":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/2096043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/comments?post=2096043"}],"version-history":[{"count":0,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/2096043\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media\/2091073"}],"wp:attachment":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media?parent=2096043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/categories?post=2096043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/tags?post=2096043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}