Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Custom slippage help

Can someone point me in the right direction on how to create a custom slippage function of x% of trade value based on daily dollar volume? My algorithm currently uses order_target functions to adjust positions.