Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Automated signals instead of trading

Does Quantopian have an invested interest in sending people to IB, or is there no preference as to which broker people use?

It would be nice if instead of buying/selling a live trading algorithm could send a simple signal to a user-configured URL. Then users can interface that signal with whichever broker they like.

14 responses

I imagine it's because IB is the easiest API-enabled brokerage for retail investors. Several other prominent retail quant platforms standardize on IB for that reason. That and they are very cheap in terms of commissions and margin rates (technically they are not always the cheapest retail option re: commissions but you have to be moving pretty serious volume per trade before someone else's fixed fee becomes cheaper as % of trade size).

Well, in my personal use case I want to try using such a signal to manually trade on robinhood.
Another use case would be to share trading signal with people outside quantopian community.
This should be fairly easy to implement, and not very risky security-wise since it doesn't deal with real money. It doesn't have to be anything advanced, just a simple signal with two possible values "buy" and "sell" would be great.

The Q wants its cut. Like many "introducing" brokers (which they're not), they get paid for order flow (theoretically). Or a monthly fee. Perhaps some service fee to run your algo real time but disconnected from a broker -- might be an option. You're right, a cut-rate fee for using the Q's algo engine to publish custom trading signals should be a great addition. Maybe 50 signals / week for $50/mo.? Setup your Twitter/StockTwits account and pin it to the tweet.py script attached to your algo, and voila, you're publishing signals. Or provide your cellphone number and send an SMS for each signal.

Should be a no-brainer to earn some cash for the Q to implement. Prolly take a couple of hours to add to their engine; couple of weeks to add to their billing system.

Too bad the chat paradigm seems to have died away; using a jabber connection to send chat updates straight into chat clients (AIM, Google Chat, MSMessenger) used to work great. When I set such a system up for the old company I worked for I'd get chat notifications from our analytic publishing engine: "Bing! Sell USDJPY @ 108.25, confidence level: 87%, system: Xyzzy"

We chose Interactive Brokers as the first broker integration simply because of its popularity. We don't have any vested interests nor receive a cut of the orders.

We're always open to adding other brokers to the platform and this feedback helps us select the next integrations!

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.

Well, this is not about any specific broker, it's more general than that. I'd like a signal to be sent to any user-configured URL. A generic "buy" or "sell" signal can then be interfaced with a broker, or social media, or used in other ways, -- and this can also be monetized by Quantopian, like Market Tech suggested above. The user will need to do the bulk of the integration to plug that signal into whatever they want. Quantopian just has to do a little part of sending an HTTP POST message. This is much easier for Quantopian to implement than a full-scale broker integration, and I believe it's also more useful.

Alisa,

Is there anyway to change the credentials for the Live Trading algo or the only option is to stop and start again the algo with the new set of credentials?

EG

@Ilya, thanks for the suggestion. We don't have plans to support HTTP POST messages and will go down the route of supporting more brokers on the platform.

@Erick, if you want to change your IB credentials running on your live trading algo, you'll need to stop the algorithm. Then you can add the new credentials in your Quantopian Account and redeploy your algo.

Guys why you would want to open another account with somebody else. Interactive Brokers is crazy cheap. It is the largest US online brokerage firm by number of daily average revenue trades.

EG

Because depending on what you're trading, it's free elsewhere.

@Tartarus, if one trades a) stocks, b) options, and c) futures, what online brokerages are free? Where is elsewhere for those instruments?

@Stephen As someone mentioned above, Robinhood is free and I believe they have stocks only.

I just published a Python package that will allow you to make commission-free algorithmic trades using Robinhood's API: https://github.com/benkroop/robinhood

You don't need beta API access to use this. This package uses the same API endpoints the phone app uses and authenticates using your normal username and password.

Edit: Looks like this probably won't work with zipline, but there are other open source packages out there that can run real-time stock trading algorithms.

Although this doesn't work inside of Quantopian, you may be able to live trade your Quantopian algorithms on Robinhood using Quantopian's Zipline library, which you can use to to run your algorithms on your local machine: https://github.com/quantopian/zipline

If it works, I'm planning to write up a tutorial in the next day or two explaining how to run your algorithm with commission-free trades on Robinhood using Quantopian/Zipline

Let me know if you have any feedback or feature requests!

Edit: Testing compatibility now

This is cool.
Do you know Robinhood throttling limits? If I abuse the get_quote(), will they get angry?

We're happy to announce a formal integration between Quantopian and Robinhood is live and ready to be used:

See this fresh forum thread: https://www.quantopian.com/posts/zero-commission-algorithmic-trading-robinhood-and-quantopian
Other information: https://www.quantopian.com/robinhood

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.