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...