The top finance firms like Citadel, Jane Street, Two Sigma, and the like have the best paying tech roles, but also comparatively much fewer of them than FAANG and the top tech companies. They're also extremely difficult to get into. I don't remember where but I read someone saying it's easier to get an offer from all letters of the FAANG pantheon than it is to get an offer from Jane Street.
Also different banks pay better or worse. Goldman is the top of the hierarchy and pays competitively with a mid tier tech company depending on your team and role. JP Morgan is second place.
The rest of the pack (BoA, Citi, UBS, WF, others) probably can't compete with most tech companies.