This is the second part of the “Compare the Schools” series, where I will show you how to create a simple data loader that will take an input in the CSV format and will populate MongoDB collections.
This is a 20th Jubilee post. And we are on the home run. There is one last major feature that is left to be implemented – a home page that will display few of the Australian stockmarket financial indices, namely – All Ordinaries (AORD), Small Ordinaries (AXSO) and the Industry sector indices listed here. This will provide ‘at a glance’ view of the ASX/Sectors performance. For the charts I will use the same GMMAs as for the companies.
Let’s create a menu for the site navigation.
For the past few posts we have been optimising charts generation execution. There are two more things to do before we continue with the next topic. Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 14. The less is more.”
So far we learned how to get historical ASX price data into MongoDB and how to draw charts with R/Quantmod. Now it is time to integrate.
In this post I will discuss populating database with the end of day price/volume data, as well as Ruby structs, Soviet dogs in Space and bulk insert of Mongoid objects into the database.
First, let’s define some configuration parameters for our application. I would like to store them in a YAML file.