maxbbraun / trump2cash

A stock trading bot powered by Trump tweets
https://trump2cash.biz
MIT License
6.25k stars 855 forks source link

Enable other trading platform APIs #22

Open jakedee opened 7 years ago

jakedee commented 7 years ago

TradeKing is only available to customers within within the US. It would be great if it was possible to replace the TradeKing API with one from another trading platform which is available in Europe/UK. I'll take a look at the code myself to investigate but I'm very much a beginner with Python.

KevinTaron commented 7 years ago

Yeah! I'm not prof. trader but maybe https://www.oanda.com would be solution.

They offer an REST API. here is a python solution: https://github.com/oanda/py-api-trading

zhenyulin commented 7 years ago

Also I found the create an application function in TradeKing doesn't work for me. When I'm redirected back after creating an new personal app, there's nothing in the developer home page.

domingohui commented 7 years ago

19 #21

I think we have a few suggestions on trading platforms. I would love to help out on one of them if @maxbbraun you think that's a good idea!

maxbbraun commented 7 years ago

I'd be very interested in Robinhood, because they don't charge trading fees. They don't have a documented API (yet?), unfortunately.

Gangol commented 7 years ago

Robinhood doesn't have public api but u can request api (bete) access. There is a small request form to fill.

msilb commented 7 years ago

I'd vote for Interactive Brokers. You can trade almost any type of security with them (stocks, futures, options etc.) using IbPy API. Trading fees are quite low.

domingohui commented 7 years ago

Seconded Interactive Brokers. I think they are available in many countries too. Would be nice to use the same API. ~But I don't see a python version of it. Does that mean it needs to run as a separate GAE instance just to make trades?~ EDIT: (see comment below)

MailrPro commented 7 years ago

I'd chime in for IB as msilb and domingohui both mention above. However, the page I located and the one domingohui linked to differ... The UK site site states python support see the following: IB API. Alternatively, IG Group operate worldwide, are robust (have been running since the 1970s) and have API access. See IG Group and IG APIs

berrehili commented 7 years ago

I support the idea of using Interactive Brokers. Best value / quality over price.

domingohui commented 7 years ago

@MailrPro Hmmm interesting... But that's good news.

mikespax commented 7 years ago

Looks like there's an unofficial Robinhood API here: https://github.com/aurbano/robinhood-node

t56k commented 7 years ago

@mikespax More detail here: https://github.com/sanko/Robinhood

ceased-ebc commented 6 years ago

Was this ever resolved?

maxbbraun commented 3 years ago

Alpaca looks interesting too.