Some stocks have been bought by my algorithm, but when the price has reached my sell criteria the action will sometimes return as “not tradable.” Does anyone know if this is due to a lack of price data, or possibly the fact I am trading low priced and low volume stocks?
I’m using pylivetrader, and zipline. I check for tradability with if(data.can_trade(stock)): , a zipline function.
Just to be clear I’m not advising you to use market sell orders I believe limit sell orders are probably the best route for that, trying to sell at a percent below the price usually helps out too