Day 10: Playing Nice with Bad Values

Santa has discovered quality control issues in some of the scientific equipment that was delivered to children last Christmas. The results from the Early Elf Joint Internship Training program were more No-No-No than Ho-Ho-Ho! However the EEJIT's were consistent and testing revealed that the first 3 values in every 10 measurements were faulty. An update was sent to all affected children so they could recalculate their results, knowing which readings to ignore.

Problem: How should they treat the suspect values?

Continue reading Day 10: Playing Nice with Bad Values...

Day 9: Exploring Data with D3.js and Mojolicious

Sometimes PDL doesn't scratch the particular itch you have. PDL isn't like Vegas. It doesn't have to stay there. After crunching your data, you can get it out to Perl and beyond.

Continue reading Day 9: Exploring Data with D3.js and Mojolicious...

Day 8: Simplex optimisation with Perl Data Language

If you want to solve nonlinear optimisation problems, you need PDL!

Continue reading Day 8: Simplex optimisation with Perl Data Language...

Day 7: Plotting PDL data in the browser using Javascript

Introduction

In a previous post we saw how to create a trading strategy using PDL::Finance::TA and PDL with Perl.

You may have noticed that I used PDL::Graphics::Gnuplot to do the plotting there. This module requires the user to install Gnuplot on their desktop or server, which may be a limitation in some use cases.

Continue reading Day 7: Plotting PDL data in the browser using Javascript...

Day 6: How to use PDL::Finance::TA to develop a trading strategy

Introduction

So you are a Perl developer and you see a lot of people make money on the stock market and think you could do that too. You could use third party tools provided by the trading platforms, you could use Python with its various related tools, you could use R with its RQuantLib, you could do C++ with quantlib and other similar methods. Maybe you want to use machine learning on the stock price data, or want to just gamble by guessing or following the herd. TIMTOWTDI applies here.

Continue reading Day 6: How to use PDL::Finance::TA to develop a trading strategy...