Setting an algorithm loose on the stocks that you own in your employer is not a great look from a compliance perspective at all. And if you give it specific instructions like try to sell down my holdings optimally, that doesn't relieve you of insider trading allegations at all. If you want to sell, follow the appropriate compliance procedure, then you're free to do so in whichever way you like.