Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pre-Clearance with Compliance Departments

Hi! I've been working on a simple momentum strategy and now it's time to think about trading! But what is the recommended way of doing that when you work in the Financial industry and when you have Compliance Departments that require all trades to be pre-cleared and approved before routing to market?

A related post can be found here but I don't see a simple resolution.

Right now, I'm thinking that I won't be able to connect Quantopian to Interactive Brokers at all. Rather, perhaps I will need to paper trade forever, generating orders, downloading them to generate pre-clearance requests one-by-one for each of about 120 of them per month. And then I'll need to take the approved list and maybe enter them manually into IB after that. Not a fan of that approach.

The problem is that I can't have Quantopian route orders to IB before they've been approved so what I want is some way to intercept the trades before that happens... otherwise I'll be in trouble! For me, getting pre-clearance means taking a ticker, an amount, and an order type (market/ limit) and entering it into a web-form (I'm thinking that I'll try web-scraping techniques to auto-populate it and to possibly check on results).

I could maybe schedule my algorithm to trade 2 hours after market and somehow get the list of securities at market open and get approval for these... but then how would I prevent the algo from sending out rejected trades?

Ideas?!

My issue is only with stocks... so bring on that Futures data! That's what I really want :-)