If I am a counterparty to a contract (swap, cds etc.) with an entity that went bankrupt and I am due some payment, how "senior" is my claim (amongst the other creditors where do I rank)?
I'm sorry if posted in the wrong place but I don't know where else to put it.