Well, your exception already tells you the problem...your index is -1 , so the size() seems to be 0. The array is empty...
btw: this thread gave me the great idea to use a special class for amounts and prices. Thank you!
|
|
|
@TraderTimm: I have some Java code for trading, that I want to turn into an android app at some point. Maybe you are interested in a collaboration?
|
|
|
Looks good! Runs fast even on my slow machine!
|
|
|
I had similar bugs in my code, so maybe I can help a bit...
You get the first error, when you create an iterator, then iterate over a list (or hash map in your case) and then modify the list, while you loop over it.
Potential solution is too avoid an iterator and just check for the end of the list after each loop iteration.
|
|
|
I think, there are several JS frameworks for mobiles now. If you have ported your stuff already to JS, look for them...here is one of them: http://www.appcelerator.com/
|
|
|
I'm a Java coder and did some Javascript development recently. I would reconsider my decision to port this stuff to JS. I'm not too happy with JS, which might have to do with the fact, that my machine + my browser is on the slow side.
Maybe a Java app with Java webstart would be an option? And then Android of course. Mobile apps are booming as I see it...
|
|
|
Well from my viewpoint (as a coder implementing some API for trading):
- I usually work as a software engineer modeling applications with tools. But...
- I guess I don't have the same knowledge, that most of you seem to have about trading API's, so for me it's a bit 'learning by doing'.
- My trading app is growing slowly, and I learn step by step what a trading app needs, so my trading lib is growing with my app. That process has to do with trading sites and their restrictions. Some only deliver limited data. Others update their data only after x seconds and so on. So a perfect trade app has to consider those limitations and deal with them in some way.
Learning those problems and finding workaround leads me to some iterative development process, redesigning my code again and again. So even if I had written the specs by 100% before doing any coding, I'd still have to rework my code from time to time as I learn about those trade sites.
But seeing stuff growing and working more and more is fun and keeps me motivated to further the development. So it's ok by me...
|
|
|
Ich suche (und finde) Informationen zu APIs, weil ich an einer Trading-Software bastle. Ich würde auch gerne etwas zu einem (Litecoin- wohl) Dienst beitragen, kann aber nur Coden. Handeln tu ich nur, um die Software zu testen und auch nur mit winzigen Summen. Ansonsten beobachte ich die Entwicklung im Bereich Payment-System z.B., weil ich da eigentlich gute Zukunftschancen sehe.
|
|
|
I have some Java sources, that I'm willing to open. They are incomplete and there are some issues, but maybe good enough as a start...
|
|
|
Thanks a lot for your info! So I'll have to change my implementation as well... Btw: bitparking change it's trade format yesterday. No more type field.... I think we should make an opensource trade lib as a reference implementation. Edit 1: Regarding the api docs: the given examples worked at some point. But since the api has changed at least 2 times til then, they will most obviously fail now. Just to make clear, that it's not then fault of the source code authors... Edit 2: it seems you are using an old version of my sources. I could see it from the TradeApp getCurrentGMTTimeMicros() method. I fixed quite some bugs since then, and added new features. Although the order hierachy is still suboptimal (withdraw orders still have an unnecessary price in them as an example).
|
|
|
You could use a small bot, that just requests the current gox depth before posting the order?
|
|
|
Ich dachte, dass Bitmit schliesst? https://bitcointalk.org/index.php?topic=119334.0Stell es besser bei bitcoin-cars.com, oder so, rein...(nachdem jemand die Site erstellt hat). Paar Bilder hat man ja heute schnell mit ne Smartphone gemacht. Ansonsten gilt halt 'gekauft wie gesehen'.
|
|
|
So wird das nix. Ihr müsst zumindest Bilder posten und den Ort, wo man sich das Ding anschauen kann...
|
|
|
Wenn das Mining wegfällt, wie garantierst Du dann die maximale Menge an Geld?
Warum nicht einfach eine Tauschbörse Regio-Geld <=> Bitcoin machen. Evtl. mit einer Smartphone-App, so dass man überall bezahlen könnte?
|
|
|
I thought about asking for a collaboration, but the Isis project seems pretty dead now?
|
|
|
I wrote some basic stuff in Java, like Currency, CurrencyPair, Order, Trade etc. Depends on what you want build.
|
|
|
Hi! I'm still working on this project and I'm still looking for contributors... A current screenshot:
|
|
|
There's no api for orders yet, right? Would it be ok, to use the website for that (in an app)?
|
|
|
nimm besser das 'super-leckeres' aus dem Thread-Titel... Läuft der Magento-Shop nu?
|
|
|
Was ist eigentlich mit dem Essen? Bis die Bitcoins im Laden sind, ist das doch kalt?
|
|
|
|