stock module

updated with color check for loss/win
Merge pull request #10 from pklooster/patch-5

stock module