Afaik it's very easy to setup a margin account at IB directly? And they have an API with examples.
Why are you considering trading via IB via Quantopian? Is there some benefit?
Hi, I chose Quantopian for the reasons below,
(1) I tested connection to IB via Quantopian, it was easy for me compared to using Python API.
(2) It gives a skeleton of Python code, and one may only need to focus on algo itself. I tried to code by myself directly to Python API of IB, it was far more involving.
# Btw, I am not working for any of the above parties, and just want to know how people really do algo trading with IB, as a newbie.