Taking security over hedging accounts: the tripartite agreement