Back to Community
Orders not filling

I added this line into the initialize method:

set_slippage(slippage.FixedSlippage(spread=0.00))  

Which I thought would prevent orders from not being filled.
However with every trade done the orders are not fully filled, or even filled at all.
Is there any other way to ensure orders are filled? I'm trading gold futures which aren't
illiquid so I'm not sure as to why the orders aren't filling.
Cheers

1 response

set_slippage(slippage.VolumeShareSlippage(volume_limit=1e9))

May move in the direction you want for testing, up to a billion percent of available shares with 1e9 here. 1 = 100%
Won't trade in any minute with zero volume.