BEIJING (AP) _ Xinyuan Real Estate Co. (XIN) on Wednesday reported a second-quarter loss of $26.2 million, after reporting a profit in the same period a year earlier.

On a per-share basis, the Beijing-based company said it had a loss of 49 cents.

The real estate company posted revenue of $284.4 million in the period.

The company's shares closed at $1.98. A year ago, they were trading at $4.25.

This story was generated by Automated Insights (http://automatedinsights.com/ap) using data from Zacks Investment Research. Access a Zacks stock report on XIN at https://www.zacks.com/ap/XIN

Automated Insights, source Associated Press News