removed logger deprecation warning
trade api refactor