7+ days of spotting?

9 days before AF was due, I got a medium sized glob of mucus with streaks of pink in it a couple times throughout the day. The next day, there was next to no mucus and was a pinkish brown color. The day after that, there was no mucus just blood and it was a dark brown. Then, for the last four days, I've been moderately spotting and it's been a dark brown color. Today marks the 6th day I've been spotting, and it's just started to lighten up. I've also been bloated, fatigued, nauseous, and have had body aches and migraines. AF expected to start on the 6th. What could this be?