I wanted to scan some shares in a mongo db I populated recently. Specifically I was looking for shares with a bit of activity, hoping that they would yield wider trading channels. To find these shares I came up with a simple map/reduce job which calculates the standard deviation for each share since a specified date, and then prints out shares with a minimum standard deviation to the console. So for a real-world sample of what you can do with mongodb map reduce, go have a look. Btw, in order to embed a file in a git repo in a…read more
