[#70546388] adjusted sell logic for mix of short and long term gains