I'm a junior economics major who wants to get a masters and then possibly a PhD. I know that math background is a very important component of economics grad school admissions and so I'm also minoring in math. The problem is is that I haven't taken either real analysis or an upper-level linear algebra course yet (I did take an undergrad linear algebra course over the summer and got an A in it). While I have the GPA needed to get into most masters programs and I expect to do well on the GRE, I'm afraid that my transcript as of my junior year isn't very reflective of my math abilities. During my sophomore year I was in a really bad place dealing with both anxiety and depression (I know everyone uses this excuse, but I have the doctor diagnosis to prove it) and I got a C in my calc 2 class and a B in vector calculus even though I could have gotten an A.
Since my math background is so important for econ grad school, should I even bother applying before completing these upper-level courses that will better showcase my ability to do the math that economics grad school requires?