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.