Update trade_table.module

implemente a call to drupal_map_assoc() to slash the amount of the code