Fix NYSE date by index function.

Signed-off-by: John Cornwell <JohnWCornwellV@gmail.com>