stock module

updated with color check for loss/win