trader: implement workaround for intermittent OKCoin bug