-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add exchanges #5
Comments
I tried to add a third exchange but I have errors on Arbitrator.php |
Its better u wait for the rework code :D |
Which exchanges are you interested in @RPCrypto? |
Hitbtc, kraken, yobit, bitfinex and so... many mores :P |
Haha, well sure, but to be honest I didn't really intend to start maintaining this open source project, this sort of happened as a result of the original project getting blocked. :-) I would be happy to do some work on it if there is a sensible way to fund the development but otherwise my contributions so far was more scratching my own itch... Adding support for exchanges is a lot of work. |
If people have any particular exchange they would like to see supported, please feel free to comment here. I'm working on some future improvements including support for some new exchanges. |
I would like Bleutrade, Cryptopia and Binance |
Please add support Binance, Cryptopia and Yobit. |
Is it possible to add Bitfitnex, Bitlish, Kraken and GDAX? |
Why GDAX? It only supports a few markets so I don't believe supporting it would be that beneficial... |
You're right |
I would like to see another exchange like Binance added so that I can remove Poloniex before they require the verification of legacy accounts, which requires a SSN. |
For me, I can't try the bot because it's no more possible to signup on bittrex for the moment. It's why I would like to add some other exchange. |
Yep, I'm very aware of this problem. :-/ Have you seen #54?
Mostly yes. You also need to provide |
I love to have support for coinexchange.io and cryptopia, since there are many pairs with high spread. |
The Cryptopia API seems to be fairly straightforward - quite similar to Bittrex, despite not being https://www.cryptopia.co.nz/Forum/Thread/255 - Public API Maybe I'll get my hands dirty on this; no promises though, since they are quite full these days. |
Sometimes I really wish the exchanges had sandbox APIs - there's even testing blockchains for BTC and BCH, so why not that? |
@RPCrypto is already working on Cryptopia (sadly it is no longer possible to register there and I don't have an account there myself so won't even be able to verify the code myself). It would be nice if you would help with coinexchange.io! If you'd like to work on it, you can use exchange ID 8. If you need help feel free to ask questions either here or on gitter. Thank you! |
Sure, I will give a try on coinexchange.io. Since PHP is not my main programming language, it's might take some time, but I willing to contribute. |
It would be nice to share code with the BTW a more like explanation behind exchanges ripping each other off is they buying the same exchange software and customizing it. :-) I doubt each exchange writes their own from scratch.
In my experience they for the most part don't have working APIs even... Each one has various bugs that I have had to work around so far, so we are far from that ideal world. :-( Longer term I think https://github.com/ccxt/ccxt would be a better solution. But longer longer term I have plans to redo the whole bot from scratch so I'm not sure how much time I'd spend on porting existing exchanges to use ccxt... |
Thank you, and no worries, PHP isn't my main language either, but it's quite easy to pick up and has great documentation on php.net One question though. Is this all of the API support they have? http://coinexchangeio.github.io/slate/ I'm afraid this isn't nearly enough, they offer no wallet management or trading APIs... |
Just looked at it already. They haven't supported trading api yet. I think I will find another good exchange instead. Skipping coinexchange.io for now, until they release v2 api. |
Another option is (if you're up for it) to look at their website with your browser's devtools and poke into their JS code to see what it does. I have done this for Poloniex recently with some success but it obviously takes more time! |
That's not bad idea. The hardest thing to do with browser way is dealing with authentication/cookie/captcha/2FA things, might need some time to analyze the method they use , any suggestion? since you known how to work with poloniex before. |
I found another exchange instead, tradesatoshi, found some open source on github https://github.com/WorldBot/Trade-Satoshi-API, a good way to start :) |
For Poloniex I was trying to construct real time orderbook data from their websocket API (the code isn't in this repo) and was just reading their code to see how it processes the incoming data since their API is undocumented. But the auth issue is a big one, typically exchanges either have an API that uses some kind of HMAC based authentication where you digitally sign each request with your API key (see any of our exchange implementations for examples) or they use a cookie that the exchange sign-in system sets when you use the browser to sign in, and APIs that are hidden behind the latter form of authentication aren't useful for automation through bots very easily. That being said, these days you can run Firefox and Chrome in headless mode, and there are libraries like https://github.com/GoogleChrome/puppeteer that allow you to automate the browser, so one could potentially look into adding the functionality to log in using puppeteer to the exchange and lift the cookie and give it to the bot, but that would require the account to not have 2FA enabled which is quite insecure. I'm not inclined to accept such changes for security reasons... :) |
OK cool. It's sad that exchange also doesn't have registrations open any more! |
That's unlucky, many exchanges closed registration recently. I think I will try binance or kucoin since they have just opened limited registration each day. |
hitbtc would be awesome, thanks |
I think binance would be a good choice, https://github.com/binance-exchange/binance-official-api-docs |
I'm working on an implementation of Binance on top of ccxt. :-) |
Nice, many supported exchanges with ccxt. It's seem the right way to do. Some info: Cryptopia have just opened for registration :-) |
Yes, I think at this point it's better to wait for my CCXTAdapter class and use it for further exchanges, it makes adding new exchanges much simpler! |
I posted the binance branch here: #109 (comment) Those who want to use the |
Is it possible to add exchanges ? I can also pay you privately.
The text was updated successfully, but these errors were encountered: