This is a trading problem:
Let's say I have an automated trading system with a probability of success of $70\%$ on any individual trade. I run $100$ trades a year. What is the probability of getting $5$ or more consecutive failed trades?
More generally, for a probability of success $p$ on the individual trade, and a total of $n$ trades per annum, what is the probability of a series of $m$ or more consecutive failures, where $m \leq n$ and $0 \leq p \leq 1$?
I realize this can be converted into a problem about getting a run of heads with a biased coin, but I looked around and could not find a response matching my exact needs. By the way, this is a real-world problem, not schoolwork.