init for stock monitor