QUERY, BUY, SELL and GETINFO commands working