For weight loss, metabolism, and ideal weight I'd look at male. In my personal experience my metabolism increased and I now burn as many calories in a day as a cis male of my height and weight. Also, with increased muscle mass, which would come from T, you couldn't weigh as much as a female of your height without looking, and probably feeling, sickly.
If that doesn't work out for whatever reason, I'd honestly just go with what makes you feel good. If you're hungry all the time and need more calories, I think slow weight loss would be preferable to doing something that makes your body feel taxed. Similarly if you think your recommended calories are too much and you could eat less and feel comfortable, go for it. And if you feel good about your appearance before reaching your goal weight, maybe try and stay there instead of pushing ahead.