return ( type >= TradeMsg::MARKET_OPEN &&  type <= TradeMsg::MARKET_CLOSE )