“Hello, World!’ for Quant Traders

high-frequency-tradingThis is the second blog post on my journey to learn Machine Learning. My first blog post talked about setting up the infrastructure. Now that the infrastructure is up and running, I’m able to get to the business of writing Python code.

Whenever you start to learn ANY programming language the first lesson is usually titled “Hello, World!“. It’s something of a tradition to teach the person the basics of the programming language to output something to the screen which is usually – “Hello, World!”

For quant/algo traders the equivalent of “Hello, World!” is calculating a simple daily moving average (DMA) and building some logic to buy or sell a security based on the DMA parameter.

Below is my “Hello, World!” Will this strategy make you money? Absolutely not. Will it help you build other strategies? Absolutely.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s