update XTradeImpl according to new Stock class