stockInfoLoader wrapped in define