Python Trend Following System 1

Trading floor of New York Stock Exchange

Here is a trend following system written in Python (posted on my Gist) based on reversing the Mean Reversion system posted previously. Provision is made for slippage and commission but position sizing is still not fixed fractional. The latter however is easily coded if desired.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s