Fixed TradeParameter bug