{"id":40884813,"date":"2022-01-29T18:43:14","date_gmt":"2022-01-29T13:13:14","guid":{"rendered":"https:\/\/stockviz.biz\/index.php\/?p=40884813"},"modified":"2022-01-29T18:43:21","modified_gmt":"2022-01-29T13:13:21","slug":"volume-clock-an-introduction","status":"publish","type":"post","link":"https:\/\/stockviz.biz\/index.php\/2022\/01\/29\/volume-clock-an-introduction\/","title":{"rendered":"Volume Clock, an Introduction"},"content":{"rendered":"\n<p>Typically, prices and volumes are charted based on time aggregations. The most common aggregation is the <em>daily chart<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volume-clock\/nifty-chrono.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>The daily chart shows the high\/low\/open\/close and volume traded of a particular instrument. Intraday traders might prefer a more granular version of this. Maybe a <em>minute chart <\/em> does the trick for them. <\/p>\n\n\n\n<p>C<em>hrono-clocks<\/em> are intuitive because that&#8217;s how we perceive events around us and have been trained to think.<\/p>\n\n\n\n<p>However, time is not the only way to aggregate prices. If prices are information, then volume indicates the speed with which it arrives. You can divide the day into equal volume buckets (eg. in 5000 contract increments) and transform the time-series from chrono-time to event-based time.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>In fact, working in volume time presents significant statistical advantages. First, this time transformation removes most intra-session seasonal effects; second, it allows a partial recovery of Normality and the IID assumption; third, sampling in a volume-clock metric addresses the problem of random and asynchronous transactions, which is a major concern when computing correlations on high-frequency data.<\/p><cite>The Volume Clock: Insights into the High Frequency Paradigm (<a href=\"https:\/\/papers.ssrn.com\/sol3\/papers.cfm?abstract_id=2034858\" target=\"_blank\" rel=\"noreferrer noopener\">SSRN<\/a>)<\/cite><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>We know that <a rel=\"noreferrer noopener\" href=\"https:\/\/stockviz.biz\/2016\/06\/20\/trading-turnover-throughout-the-day\/\" target=\"_blank\">trading turnover throughout the day<\/a> is not constant. If you plot turnover over a trading day, it typically traces a \u2018U\u2019 shaped plot. Even widely traded index futures like the NIFTY have &#8220;slow&#8221; and &#8220;fast&#8221; periods. A volume clock is one way to match the sampling frequency with information flow frequency.<\/p>\n\n\n\n<p>When you aggregate by volume, each slice of time will have different lengths. For example, we streamed NIFTY futures over a couple of weeks and aggregated it by 2500, 5000 &amp; 10000 lots traded. The y-axis is the width of the time-slice of each <em>volume-tick<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volume-clock\/volume-clock.all.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>The size of the volume bucket would depend on what one is trying to analyze. Here&#8217;s the 2500 lot bucket by itself:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volume-clock\/volume-clock.2500.png\" alt=\"\" \/><\/figure>\n\n\n\n<p><em>&#8220;There are minutes where nothing happens; and there are seconds where minutes happen&#8221; &#8211; Lenin, the High Frequency Trader.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Typically, prices and volumes are charted based on time aggregations. The most common aggregation is the daily chart. The daily chart shows the high\/low\/open\/close and volume traded of a particular instrument. Intraday traders might prefer a more granular version of this. Maybe a minute chart does the trick for them. Chrono-clocks are intuitive because that&#8217;s &hellip; <\/p>\n","protected":false},"author":2,"featured_media":2106273,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3471],"tags":[2761],"class_list":["post-40884813","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\/40884813","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=40884813"}],"version-history":[{"count":0,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/40884813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media\/2106273"}],"wp:attachment":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media?parent=40884813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/categories?post=40884813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/tags?post=40884813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}