update the overall market logic
Merge pull request #10 from ycj28c/master

update the overall market logic