Overall, the Mexican peso has had a relatively good year in 2017, set to close a shade under 20 to the US dollar at end-December (19.72 at time of writing), having opened at the year at 20.74. This would make for a gain of about 5% for the year.
At the beginning of the year, the peso was still reeling from the election of Donald J. Trump as President of the U.S. on a platform hostile to imports of goods and people from Mexico. There was concern that he may follow through on threats to unilaterally withdraw from NAFTA, tax remittances and build a big border wall, among other measures. It was in the latter stages of a rout which would see the peso climb from a shade under 18 to the dollar in mid-August 2016 to an all-time high of nearly 22 in the third week of January 2017.
A strong nine-month run would see the peso more than retrace this move as the worst fears of a Trump Presidency appeared to have been unfounded, with the Mexican currency dipping back below 18 to the dollar during the summer months.