Hey guys i tried to get this strategy working yesterday but it tells me that none of my companies are tradable.
The strategy is migrated from Quantopian.
It should select a bunch of liquid companies that get ranked by momentum and value criterias. If we are in a market uptrend it should buy up to 50 of these well performing companies. Once a company in the portfolio drops out of the top 50 companies we liquidate it.
All cash should be funneled into bonds.

It appears like the algorithm is technically working correctly but once it wants to set a position the stock appears to not be tradable. I checked some of them and they were definitly listed to that time.
I also ran the code with a IsTradable check which resulted in no positions getting filled.

Can you help me find my error? I simply dont see it and probably stared to long at this code.