For anyone on interactive brokers, I ported @kimsams work to IB Gateway. Short of it is that it sucks. API rate limits, slow responses, symbol confusion. May well be user error but its probably easier to open a Scwab account and put a little bit of cash into it.