If you ever had 10k+ res of something and you wanted to sell it all at once, then you currently have to click 35943594 times, even if you keep selling in 500 steps. So why not make a hotkey for it, to do it all in just one click (like eg sending resources to an ally while pressing ctrl).