
Shylock's personality
Shylock is a character with I’d say, the most complex personality in the entire play. He’s a good stark mix of victim and villain, possessing qualities you can both agree and disagree with. He’s a vengeful man who prioritises what he sees justice as over showing the light of mercy on others, a great example is how he pressed so hard for Antonio’s agreed punishment. He also has an almost misanthropic view on the world whilst also being a clear victim of the world's constant cruelty and injustice, which probably fuels a general disdain he has towards others.
Personality
Expanding on this, Shylock also seems to be using the offense in his personality as a way to possibly shield himself from the constant bullying he faces living in a world surrounded by judgemental, hate fueled Christians and with him living basically with a bullseye on his back.
He’s clearly hurt, which that side flares up during his speech about humanity, and the similarities between us no matter our religious differences“Hath not a jew eyes? Hath not a jew hands..” His inner vulnerabilities show through during times like this. So, he clearly is someone affected by the antisemitism he faces, he simply uses a stern face and a cold personality to mask it most of the time.