Gold prices dip by Rs800 to Rs317,800 per tola