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

Hi!
I'm looking to have a Slippage for futures and market orders such that:
* produce a fill of 1/40th of the volume at the traded price.
* produce a fill with the rest of the desired quantity of the market order at the traded price plus a spread of 0.005.

Can you help me please?

I tried by my own but I didn't have any success.
Thx!