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.
In the previous chapter I’ve described functional blocks that, collectively, make the Stock Scanner. Now it is time to dive into the actual code. Before we can start working on the reports application we need to be able to load data into the database. Let’s begin with the models. Continue reading “Building a Financial Stock Scanner with Ruby on Rails and R. Part 3. Talking [Super]Models but not Podiums.”