Analysing changes in market integration through a cross-sectional test for the law of one price