Back to Community
How to implement algo to other trading website

I really want to use my algorithm, but instead of using an IB. I want to use my own broker. Can someone tell me how to do this?

9 responses

Hi Jonathan,

Currently, you can only connect your Quantopian account to IB. That being said, we are working on integration with E*TRADE. See Seong's post for more details. What broker are you looking to use?

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.

Hi Andrew, I really want to use the new brokerage Robinhood

I can't speak for Quantopian, but I know that Robinhood has announced that they are adding an API. This API would be required for other websites (like Quantopian) to integrate with. I too am excited to see Robinhood (with their $0 trades) work with automated trading tools like Quantopian.

https://robinhoodapp.zendesk.com/hc/en-us/articles/203585145-Does-Robinhood-have-an-API-

For example, here is E-Trade's API which is likely what Quantopian uses to provide live trading.

https://developer.etrade.com/

IB is the cheapest and best. they have nearly all of the home professional market. robinhood is clearly aimed at retail customers. which is great idea, because the commissions that retail brokerage charge for trades are kinda ridiculous relative to zeroish marginal cost to execute a trade. IB is super-cheap, on commissions but also on long/short spreads for borrowing/lending. according to robinhood they plan to make all their money on margin interest rates. i dont think its a good idea to use them for professional trading.

With Robinhood, I'll guess that EOD is good enough for your needs. It looks like you might be able to develop your algo on Quantopian and then run it on your own box using Zipline pulling down Yahoo data for actual trading.

https://github.com/quantopian/zipline

python run_algo.py -f dual_moving_average.py --symbols AAPL --start 2011-1-1 --end 2012-1-1 -o dma.pickle  

"This will download the AAPL price data from Yahoo! Finance in the specified time range and stream it through the algorithm and save the resulting performance dataframe to dma.pickle which you can then load and analyze from within python."

We'd love to integrate with Robinhood too! Unfortunately they haven't opened up their APIs yet...but we are definitely talking to them. Feel free to let them know you'd like the integration as well.

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.

Karen,

Karen, thanks for your response. I submitted a request for Robinhood to integrate with Quantopian and they replied with this:


Thank you very much for your interest in working with the Robinhood API. Please click the link below to fill out our short survey. We will follow up with you directly as we begin the process of choosing our beta partners.

Robinhood API Survey: http://bit.ly/1ppfmaz

If you are already "talking to them", I'm not sure that filling out this API survey is needed. But, I guess it can't hurt either. It is up to you.

Hopefully they will notice if many users ask them to integrate with Quantopian!

how about TDameritrade? is anyone knows?

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.