Building Financial Stock Scanner with Ruby on Rails and R. Part 18. Prawns but not the seafood type ones.

Remember that in the Part 1 we established that one of the requirements of our application is to be able access reports on the home network as well as on the Internet.

We have mostly covered the first half. Now let’s talk how can we access reports through the Internet.

For that we need to add prawns to our cocktail of Ruby/Rails/R/Quantmod and Javascript ingredients.

Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 18. Prawns but not the seafood type ones.”

Advertisements
Building Financial Stock Scanner with Ruby on Rails and R. Part 18. Prawns but not the seafood type ones.

Building Financial Stock Scanner with Ruby on Rails and R. Part 16. “I see only forms that are lit up and forms that are not”. (Francisco de Goya)

Let’s update our web site with an ability to add/edit/delete lists of stock tickers.

Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 16. “I see only forms that are lit up and forms that are not”. (Francisco de Goya)”

Building Financial Stock Scanner with Ruby on Rails and R. Part 16. “I see only forms that are lit up and forms that are not”. (Francisco de Goya)

Building Financial Stock Scanner with Ruby on Rails and R. Part 14. The less is more.

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.”

Building Financial Stock Scanner with Ruby on Rails and R. Part 14. The less is more.

Building Financial Stock Scanner with Ruby on Rails and R. Part 13. Parallel Processing. “We are one, but we are many…”

In this post we explore an option for asynchronous / parallel execution of the R/Quantmod/Ruby charts generation batch job. The quote in the title, is, actually from a song (used in this ad for an Australian telecom company Telstra). Taken out of the context it can represent a ‘fork()’ call, and, thus, somewhat related to the subject.
Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 13. Parallel Processing. “We are one, but we are many…””

Building Financial Stock Scanner with Ruby on Rails and R. Part 13. Parallel Processing. “We are one, but we are many…”

Building Financial Stock Scanner with Ruby on Rails and R. Part 11. Speeding it up. TRIZ.

So we now have our charts generated by Quantmod, however on my MacBook Air it takes about 30 min to go through a list of about 500 tickers. Let’s see if we can speed it up.
In this case we will use TRIZ / ARIZ to get to the solution.
Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 11. Speeding it up. TRIZ.”

Building Financial Stock Scanner with Ruby on Rails and R. Part 11. Speeding it up. TRIZ.

Building Financial Stock Scanner with Ruby on Rails and R. Part 10. Batch-charting

Let’s create a rake task that, when run, will create charts and save them on the filesystem. We will use them later when creating our reports.

Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 10. Batch-charting”

Building Financial Stock Scanner with Ruby on Rails and R. Part 10. Batch-charting

Building Financial Stock Scanner with Ruby on Rails and R. Part 9. Feeding Mongo data into Quantmod.

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.

Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 9. Feeding Mongo data into Quantmod.”

Building Financial Stock Scanner with Ruby on Rails and R. Part 9. Feeding Mongo data into Quantmod.