implemented TradeContext's stub methods and finished implementation of ReadonlyTrader