To keep the yuan at an unchanged value relative to the dollar , despite China 's ballooning trade surplus with the United States , Beijing has been a huge buyer of United States Treasuries and other securities .