Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
IB algo trading as a service

While building the trading platform for myself I've built quite a robust service that allows you to basically use trading through IB as a SaaS.

What it does:
- Runs an instance of IB gateway in the cloud and takes care of connection restarts etc.
- Has a simple API to make orders. Specifically designed around people that have signals generated elsehow and just want a simple way to trade them.
- Handles IB errors in a graceful way
- Shows a dashboard of trading activity, charts and all the important parameters

Example API;

order = api.order_target_percent('AAPL', 0.1, limit_price='180.50')

Orders AAPL for 10% of NLV.

order = api.order_target_percent('AAPL', 0, stop_price='xc0.98', limit_price='xc0.97')

Creates a stoplimit order to close AAPL position at 98% of cost basis with a limit price of 97% of cost basis.

I am wondering if anyone would be interested in using this service?

3 responses

Hi Vladimir, for zipline-live we are creating a complete service including data service based on zipline and other services. Maybe you want to join your effort into that?

Not sure how do you plan to do actual trading, but the idea behind this is to make the IB connection transparent and run in the cloud as SaaS.

@vladimir

I'd be interested. I like the SaaS model.