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 15. Putting [a graphical inter]face to a name.

Past 14 posts all dealt with the command line. Am I bored you with all that CLI interactions? Let’s bring some colour and shapes and the actual diagrams into the life of our application. So let’s start writing a web user interface! Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 15. Putting [a graphical inter]face to a name.”

Building Financial Stock Scanner with Ruby on Rails and R. Part 15. Putting [a graphical inter]face to a name.

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 12. Need4Speed.

In this post we will continue our quest to improve performance of the charts generation batch job. We will take the further clues provided by the TRIZ analysis in the previous post, implement some of them and measure the end result against the original, baseline, performance results.
Continue reading “Building Financial Stock Scanner with Ruby on Rails and R. Part 12. Need4Speed.”

Building Financial Stock Scanner with Ruby on Rails and R. Part 12. Need4Speed.

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