Studies of non-trivial band topology and electron-hole compensation in YSb