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?