How to Optimize Algorithmic Trading for ESG Investing?