adding loadStocks function and examples in sandbox