Fix  Number of open trades not updating #286