India's top trading partners from April to June were China, the United Arab Emirates, and the US. India had the largest trade deficit with China in 2014 of $36.2 billion. Among its top ten trading partners, India maintained a trade surplus with the US, UAE, Hong Kong, and Singapore. A country's balance of payments accounts for all economic transactions between its residents and the rest of the world over a period of time, including exports and imports of goods and services as well as financial capital flows. It has two main components - the current account and the capital account.