Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Help Appreciated - over leverage

I received the error "The 2-year backtest for your entry in the Quantopian Open was over-leveraged, using more than 3x leverage in the code. Because of this, the the entry is disqualified from the contest."

How can I solve this issue and is there a way to make my algo only trade once a day; at noon?

1 response

you can use the schedule function to time your trading
leverage management example can be found here:
https://www.quantopian.com/posts/quantopian-open-example-algorithm-to-control-leverage