extract event hour and price