Interplay between topology and dynamics in the World Trade Web