Create Stockchecker.js

Stockchecker calculation logic