made trades_by_supplier on one line
made rsrc exchange preference api shorter