With the recent sort-of fall of FXCM (January 2015 Swiss currency change), the idea of having a lot of cash in a brokerage account seems risky. I use IB, so I feel comfortable that I'm not using a bucket shop with debatable capitalization but still, it's not insured cash so the risk is there.
For one of my algos I need to have a decent amount of cash in my account throughout the day for trading purposes. I've thought recently about buying some rather boring govt bond before the end of the trading day, and liquidating in the morning.
Just curious if there's some general best practices out there where you need to have a lot of uncommitted cash at a brokerage throughout the day, but doing something to address the risk of broker problems.