TradeIdGenerator implementation finished