Building a Simple Trading Strategy in Python — Trend Following

Photo by Nicholas Cappello on Unsplash

Trading strategy is essential in any investment. Python offers us a fantastic opportunity to test and implement our trading idea based on historical data and observe the result. This helps us to evaluate the feasibility of our trading strategy before we adopt it in the real market.

--

--

--

A publication dedicated to providing concise and practical coding solutions to various problems in finance.

Recommended from Medium

Day 9/ JUly Challenge/Leetcode

Will It Graph? Identifying a Good Fit for Graph Databases — Part 1

Python 3 with OPEN CV3 Ubuntu [Part 1]-Installation

The journey to get all AWS Certifications in 5 months time

Tezos — A digital commonwealth

Setting up screen sharing with IPEVO document cameras in Skype

Setting up screen sharing with IPEVO document cameras in Skype

SCOAT — A Smart Coverage Automation framework

Did You Know You Could Animate an SVG Like This?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bee Guan Teo

Bee Guan Teo

Data Scientist. Like problem solving with Python

More from Medium

Financial Pattern Recognition in Python

How to Build a Real-time Stock Alert Messaging System in Python

Calculate Annualized Expected Stock Returns Using Python

How to create Time Series analysis of stocks using python