Anisotropies in the flux of cosmic ray electrons and positrons