I think the Kelly Criterion can tell you what proportion of your funds to be betting in situations like this.
Quoting from https://en.wikipedia.org/wiki/Kelly_criterion: "If the edge is negative (b<q/p) the formula gives a negative result, indicating that the gambler should take the other side of the bet."