Problem könnte nur sein, dass ich das mit Java mache?
|
|
|
ich wollte mich heut mal an die arbeit machen und china exchanges APIs für www.cryptocoincharts.info einlesen. gestatlet sich schwieriger als gedacht. die meisten seiten brauchen EWIG zum laden, google translate ist mies und bis jetzt hab ich noch gar keine API dokumentation gefunden. ein paar hab ich direkt per mail angeschrieben. die anderen brauchen extra tokens. alles sehr kompliziert und zeitaufwändig Bist Du ggf. an einer Zusammenarbeit interessiert, um sowas zu implementieren? Ich hab schon einige APIs implementiert und eine Site aus China wäre eine nette Ergänzung...
|
|
|
You should split the task. Most coders are not good designers and vice versa...
|
|
|
I'm not good with graphics and I don't have a personal website. I also don't want to sell my signature space, or so...
I just can code. You will find some postings with screenshots here, if you want to know, what I'm doing.
|
|
|
If you want to help with a tradebot, let me know...
|
|
|
If you are interested in a collab for a trading language, let me know. I'm working on java stuff, though. But the trading language should not be affected by this.
|
|
|
100ms? That is crazy ... I never used intervals < 15s in my bots.
It might work for you now, but if all those hundreds of bots switch to such a scheme, the website is blocked ...
|
|
|
Great! Thanks for the info!
Maybe we can collaborate in some stages of our projects...
|
|
|
If several bots request the same data from the same IP, it's more likely, that they get banned. That's why I use a single ChartProvider instance delivering data for all bots. So I request the btc/usd rate only once and let all bots use this info.
|
|
|
Hmmh..my shortest request intervals are like 15s. Bost most bots check every 10mins, or so. So it's quite unlikely, that they all trade at the same time...
|
|
|
I think the order also needs an owner (who created the order) and a status (open, partially_filled, filled etc). It should also hold the traded good or currency pair (btc in usd, or so).
I already started a data model for such an exchange. That's a good start and you can create code from it (i.e. sql).
|
|
|
If you have specific java questions, I'm willing to help you...
|
|
|
No promises, but I'll try to set aside some time to make a few changes.
Edit: if you got the generic "Error parsing trades", that is likely the API failing to respond. I didn't/don't have great exception handling going on.
Check the HTTP response code. It's most likely 504 with some HTML from cloudflare, or so...
|
|
|
I want to support the openbitcointrader project, but it seems a bit dead at the moment. If you need support, maybe we can share some sources, or so. I'm mainly interested in bot trading, so the manual trading stuff needs some love here anyway...
|
|
|
Hmmh...good question. I just donated my sources to the openbitcointrader project, so I didn't actually release the sources, but IIRC it's MIT.
Do you need a specific license?
|
|
|
|