(Bloomberg) -- China ended the first half of the year with a record trade surplus of about $586 billion after exports to the US began to stabilize, with factories riding out the tariff rollercoaster that upended global commerce. Most Read from BloombergWhy Did Cars Get So Hard to See Out Of?How German Cities Are Rethinking Women’s Safety — With TaxisPhiladelphia Reaches Pact With Workers to End Garbage StrikeAdvocates Fear US Agents Are Using ‘Wellness Checks’ on Children as a Prelude to Arrests