started trading logic