
midnightcodr.github.io
Ricos New BlogI just love coding. OHLC data grouping with mongodb. In this post I will demonstrate how to do data grouping with OHLC data using mongodb’s powerful aggregation framework. Group OHLC data every N weeks where N 1, I should point out that doing weekly data grouping (when N= 1) is a whole lot easier. Mongodb aggregation data.js. Data based on http:/ finance.yahoo.com/q/hp? S=QQQ Historical Prices */. Grp weeknbr: '$grp weeknbr'. The idea is to. Is chosen is because it lands on Sunday. Last group (2015-02-06...
http://midnightcodr.github.io/