Yes, Spotify Wrapped only records your listening behaviour up until October 31.
I hope you’ve listened to only your best music from the beginning of the year until yesterday, 31 October. Because if you assumed that Spotify only collects your listening data until Halloween for its end-of-year Wrapped feature, you’d be correct.