api.rest should discard cache for errors, trades and positions gadgets need to acknowledge errors instead of alerting them