The stock market has closed with gains over the past 12 sessions of trading. This is a record of the…