I'm all about cryptocoins but wow this is just about the glass-est house to throw stones from. Smart Contracts are notorious for things going wrong. I'm no expert but I kinda doubt a smart contract could make an autonomous margin call. Can't know the value of collateral without trusting a human or two in there somewhere.