The Art of Monkey Trading

A Guide to Algorithmic Strategies through Monkey Trading

Javier Calderon Jr
5 min readSep 7, 2023

--

Introduction

In the fast-paced world of financial markets, algorithmic trading has become the cornerstone of modern trading strategies. Among the myriad of algorithms, “Monkey Trading” stands as a fascinating and somewhat controversial approach. Despite its whimsical name, Monkey Trading is a serious endeavor that leverages randomization techniques to make trading decisions. The goal of this article is to provide you with a comprehensive guide on how to implement Monkey Trading.

Why Monkey Trading?

Before diving into the technicalities, let’s address the elephant in the room: why would anyone use a seemingly random strategy like Monkey Trading? The answer lies in its simplicity and the law of large numbers. Monkey Trading can serve as a baseline to compare more complex strategies and can sometimes outperform them, especially when markets behave irrationally.

Setting Up Your Development Environment

To get started, you’ll need a Python environment. I recommend using Python 3.8 or above due to its robust ecosystem and extensive libraries for financial analysis.

# Install necessary packages
pip install pandas
pip…

--

--

Javier Calderon Jr
Javier Calderon Jr

Written by Javier Calderon Jr

CTO, Tech Entrepreneur, Mad Scientist, that has a passion to Innovate Solutions that specializes in Web3, Artificial Intelligence, and Cyber Security

No responses yet