Genetic optimization of trading algorithm

I just commited some code to show how one can optimize a parameter of a trading algorithm to increase the sharpe ratio. The code works with the open source LEAN engine.

https://github.com/chrisdk2015/LeanOptimization

Currently there’s a 40 second delay from running each iteration meaning it can take a long time to run say 10,000 iterations 🙂

But hopefully this can be fixed either in the engine or with some further hacks.

Advertisements

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