Add logics for looking for transaction opportunities

Add logics for seeking transaction opportunities. Make some changes to GetAllPriceServlet, but could not get it working.
这个类如果外面不用, 放在里面就没问题了