auto trading in backend