added 'open' price and market status indicator

1. added 'open' column to show open price
2. added market indicator, shown if the market is closed
3. code refactoring