Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to limit borrowing?

How can I keep my algorithms from borrowing any money?
Does it have something to do with this:

context.max_notional = 1000000.1  
context.min_notional = -1000000.0  

Thanks,
Michael

2 responses

See https://www.quantopian.com/posts/my-overdraft and a full implementation in my Theory of Anti-Gravity

Perfect thanks!