Gold falls as US stocks near all time highs

Precious metal locks in worst monthly decline since May.