The following table presents the Company’s restricted cash balances as of September 30, 2016 and December 31, 2015: | | | | | | | | | (in thousands) | September 30, 2016 | | December 31, 2015 | Restricted cash balances held by trading counterparties: | | | | For securities and loan trading activity | $ | 20,810 |
| | $ | 12,550 |
| For derivatives trading activity | 148,492 |
| | 130,355 |
| As restricted collateral for repurchase agreements and Federal Home Loan Bank advances | 95,223 |
| | 119,310 |
| Total restricted cash balances held by trading counterparties | 264,525 |
| | 262,215 |
| Restricted cash balance pursuant to letter of credit on office lease | 347 |
| | 347 |
| Total | $ | 264,872 |
| | $ | 262,562 |
|
|