Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Basic training model

It is my basic simulation of transaction process.
I can adjust thresholds to reach the optimal sharpe ratio.