debugging trade Ids