getSharePrice function