Stock tracker using a hash table implementation