Pātuhitia tēnei: An introduction to algorithmic trading