Simplify Trading API error handling