Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Using context in a custom slippage model?

For example, I have certain variables that are calculated daily - which are fed into the slippage model. It would be useful to calculate these variables once per day and not having to repeatedly calculate it for every order. Thanks.