Back to Community
Orders not filling

I added this line into the initialize method:


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.

1 response


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.