Ranocchia optimistic ahead of derby