Author

Topic: cex.io purchase bot (Read 9376 times)

member
Activity: 81
Merit: 10
September 13, 2014, 04:08:30 AM
#73
I need 1 week or so to finish a web bot that will be totally free for miners (referral needed ) and they do
not need to configure anything but the cex api details...have a look at this discusion:

https://bitcointalksearch.org/topic/--780899

or the website itself: http://cexapibot.com
newbie
Activity: 21
Merit: 0
July 17, 2014, 08:38:36 PM
#72
I just found this bot.  Thanks for creating it!  I am having a problem though.  I downloaded v1.1.0 and I have it set up and running.  BUT, I keep getting 0x1 errors.  Here's what the Log page currently says:

[Sun Jul 13 20:55:27 CDT 2014] Settings loaded successfully!
[Sun Jul 13 20:55:35 CDT 2014] Settings saved successfully!
[Sun Jul 13 20:55:35 CDT 2014] Reinvesting.
[Sun Jul 13 20:56:20 CDT 2014] Error 0x1: {error:Invalid signature}
[Sun Jul 13 20:56:40 CDT 2014] Error 0x1: {error:Invalid signature}
[Sun Jul 13 20:57:02 CDT 2014] Idle.
[Sun Jul 13 20:57:02 CDT 2014] Settings saved successfully!
[Sun Jul 13 20:57:02 CDT 2014] Reinvesting.
[Sun Jul 13 20:58:52 CDT 2014] Error 0x1: {error:Invalid signature}

The error.txt file says:

Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.analyze(Reinvestor.java:740)
   at Reinvestor$ReinvestThread.run(Reinvestor.java:603)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Order error:
{error:Invalid signature}

Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)



Is there anything I can do to fix it?  Or, if not, is there any further information I can get you that may fix it?

Thanks!

@mboehler, that looks like a genuine API key problem. Confirm you have the correct API Key/Secret AND that you have activated it on the CEX.io website. Let me know if you still get the problems after confirming those.
member
Activity: 68
Merit: 10
July 13, 2014, 09:03:09 PM
#71
I just found this bot.  Thanks for creating it!  I am having a problem though.  I downloaded v1.1.0 and I have it set up and running.  BUT, I keep getting 0x1 errors.  Here's what the Log page currently says:

[Sun Jul 13 20:55:27 CDT 2014] Settings loaded successfully!
[Sun Jul 13 20:55:35 CDT 2014] Settings saved successfully!
[Sun Jul 13 20:55:35 CDT 2014] Reinvesting.
[Sun Jul 13 20:56:20 CDT 2014] Error 0x1: {error:Invalid signature}
[Sun Jul 13 20:56:40 CDT 2014] Error 0x1: {error:Invalid signature}
[Sun Jul 13 20:57:02 CDT 2014] Idle.
[Sun Jul 13 20:57:02 CDT 2014] Settings saved successfully!
[Sun Jul 13 20:57:02 CDT 2014] Reinvesting.
[Sun Jul 13 20:58:52 CDT 2014] Error 0x1: {error:Invalid signature}

The error.txt file says:

Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.analyze(Reinvestor.java:740)
   at Reinvestor$ReinvestThread.run(Reinvestor.java:603)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Order error:
{error:Invalid signature}

Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)


Error 0x1:
java.lang.NullPointerException
   at Reinvestor$ReinvestThread.run(Reinvestor.java:584)



Is there anything I can do to fix it?  Or, if not, is there any further information I can get you that may fix it?

Thanks!
newbie
Activity: 5
Merit: 0
June 17, 2014, 02:51:39 AM
#70
hello,

suggestion,
- amount of 'coins' wish to spend for reinvesting/buying GHS -
so peoples not only reinvesting but also saving from their block rewards
member
Activity: 128
Merit: 11
May 22, 2014, 05:22:06 AM
#69
Question for you.  Since cex.io started charging a fee for trades, how do we preserve enough to cover the transaction?  I would rather not leave a set amount uninvested.

EDIT: Nevermind, looks like you already took care of it.  Nice...
newbie
Activity: 21
Merit: 0
May 08, 2014, 05:51:38 PM
#68
Great, glad to hear it works now.

Let me know if you have any improvement suggestions!

Zack.

I have a suggestion that I think a few of us would like. Do you think you good add a feature in the settings that will allow use to chose the maximum value of GHS/BTC we are "ready" to trade for.

Say I don't want to trade for over 0.00675 GHS/BTC, do you think you could make it so it will wait until the value of GHS/BTC is lower or equal to 0.00675 GHS/BTC. I would be awesome if you could implement this feature to your wonderful program.

Thank you.

EDITED: Or is that was the Maximum and Minimum in the settings tab do?
RE-EDITED: Never mind, that is what it does. Sorry for ask then. Smiley

Glad to hear you can use it! Yeah I thought you were using a really old version until I saw the edits lol, for a definition on all the elements, check out: https://github.com/zackurben/cex.io-reinvestor#available-tabs
newbie
Activity: 51
Merit: 0
May 08, 2014, 04:31:45 PM
#67
Great, glad to hear it works now.

Let me know if you have any improvement suggestions!

Zack.

I have a suggestion that I think a few of us would like. Do you think you good add a feature in the settings that will allow use to chose the maximum value of GHS/BTC we are "ready" to trade for.

Say I don't want to trade for over 0.00675 GHS/BTC, do you think you could make it so it will wait until the value of GHS/BTC is lower or equal to 0.00675 GHS/BTC. I would be awesome if you could implement this feature to your wonderful program.

Thank you.

EDITED: Or is that was the Maximum and Minimum in the settings tab do?
RE-EDITED: Never mind, that is what it does. Sorry for ask then. Smiley
full member
Activity: 210
Merit: 100
May 06, 2014, 12:33:50 AM
#66
What do you mean when you say, "supports all non-temporary currencies supported by CEX".  I'm only seeing BTC and NMC in the settings currently.

@Raptor2213, sorry that was a badly worded statement at a low level. The reason for the 0x1 error was, that CEX returns different output for each user account. This output is dependent on what currencies each user has currently, and which currencies they have ever owned in the CEX system. For example, my account will not show a current balance, nor order balance for FHM, because I have never dealt with them; on the other hand, if you didnt have a GHS balance or NMC balance and tried to use the reinvestor, it would simply not start (why CEX does this, I have literally no idea).

By saying each currency is now supported, I compensate for whether an account may or may not have a particular balance, and in the future if CEX adds the ability to trade with their other currencies (those shown in the `balance` tab on the reinvestor), they will be simple changes to implement use, because the underlying architecture is now in-place.

Also non-temporary meaning the futures, I dont know what will happen with the futures currency when the date approaches, and didnt want another program breaking bug the second they yank the currency from their API; as it stands, all futures trading will have to occur on the CEX website until I can come-up with a better system for temporary currencies.

Ah, that makes a lot more sense. 
I wish cex.io would have trading or auto-withdrawl options for all the altcoins they mine.  It's a pain to keep withdrawing them to other wallets.
newbie
Activity: 21
Merit: 0
May 06, 2014, 12:30:01 AM
#65
What do you mean when you say, "supports all non-temporary currencies supported by CEX".  I'm only seeing BTC and NMC in the settings currently.

@Raptor2213, sorry that was a badly worded statement at a low level. The reason for the 0x1 error was, that CEX returns different output for each user account. This output is dependent on what currencies each user has currently, and which currencies they have ever owned in the CEX system. For example, my account will not show a current balance, nor order balance for FHM, because I have never dealt with them; on the other hand, if you didnt have a GHS balance or NMC balance and tried to use the reinvestor, it would simply not start (why CEX does this, I have literally no idea).

By saying each currency is now supported, I compensate for whether an account may or may not have a particular balance, and in the future if CEX adds the ability to trade with their other currencies (those shown in the `balance` tab on the reinvestor), they will be simple changes to implement use, because the underlying architecture is now in-place.

Also non-temporary meaning the futures, I dont know what will happen with the futures currency when the date approaches, and didnt want another program breaking bug the second they yank the currency from their API; as it stands, all futures trading will have to occur on the CEX website until I can come-up with a better system for temporary currencies.
full member
Activity: 210
Merit: 100
May 05, 2014, 12:26:34 AM
#64
What do you mean when you say, "supports all non-temporary currencies supported by CEX".  I'm only seeing BTC and NMC in the settings currently.
newbie
Activity: 21
Merit: 0
May 04, 2014, 09:32:54 PM
#63
Hey guys, wanted to let you know that version 1.1.0 is out, and you can get it here: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.1.0

This fixes the infamous 0x1 error where nothing happens for some users, and adds support for transaction fees, and supports all non-temporary currencies supported by CEX.

As usual let me know if something doesn't work,

-Zack
newbie
Activity: 39
Merit: 0
May 04, 2014, 08:52:43 AM
#62
Hey guys, wanted to let everyone know that I have patched the reinvestor, and you can grab the latest version here: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.6

Sorry this took so long, I've been beyond swamped lately.

Let me know if you have any problems,
Zack.

Thanks Dude. Grabbing it now.
full member
Activity: 210
Merit: 100
April 30, 2014, 01:19:49 AM
#61
It's mostly working, but I keep getting errors like this:
Code:
[Wed Apr 30 01:18:05 CDT 2014] Reinvestor: Order error: Error: Insufficient funds. Required amount:97963NMC, balance:97768NMC.
Every 10 or so, it will get it right.  Seems like there's just something slightly off about the calculations.
newbie
Activity: 21
Merit: 0
April 28, 2014, 12:40:19 AM
#60
Hey guys, wanted to let everyone know that I have patched the reinvestor, and you can grab the latest version here: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.6

Sorry this took so long, I've been beyond swamped lately.

Let me know if you have any problems,
Zack.

Thanks!  Seems to be working fine.

Great, thanks for the update!
full member
Activity: 210
Merit: 100
April 28, 2014, 12:05:37 AM
#59
Hey guys, wanted to let everyone know that I have patched the reinvestor, and you can grab the latest version here: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.6

Sorry this took so long, I've been beyond swamped lately.

Let me know if you have any problems,
Zack.

Thanks!  Seems to be working fine.
newbie
Activity: 21
Merit: 0
April 27, 2014, 08:48:38 PM
#58
Hey guys, wanted to let everyone know that I have patched the reinvestor, and you can grab the latest version here: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.6

Sorry this took so long, I've been beyond swamped lately.

Let me know if you have any problems,
Zack.
newbie
Activity: 39
Merit: 0
April 23, 2014, 09:57:55 AM
#57

Anyone know of a safe bot to just autobuy gh/s every hour or so with the mined amount of btc and nmc? I've seen several bots, but either the focus only on the btc amount or attempt some form of trading.

************************************************

I want to know too. If you have some information, please let me know!

if your able to run php at home then grab the one about 4 posts above yours from "sixoffive". It can sell NMC/LTC and use Mined BTC to get more GHS. I have tested it and ran it a few times and seems to do what he says. There isn't much doco so you have to try work out whats in his code.
newbie
Activity: 21
Merit: 0
April 21, 2014, 06:43:18 PM
#56
Hey guys, just wanted to let you know I'm still alive! I am aware of the issue, however the process is slow between free time because, CEX dev's have been terrible with getting back to me and I dont really have free time lol. I will post here ASAP as I have a resolution.

Thanks for hanging in there guys,
Zack.
newbie
Activity: 56
Merit: 0
April 21, 2014, 02:52:58 AM
#55

Anyone know of a safe bot to just autobuy gh/s every hour or so with the mined amount of btc and nmc? I've seen several bots, but either the focus only on the btc amount or attempt some form of trading.

************************************************

I want to know too. If you have some information, please let me know!
newbie
Activity: 39
Merit: 0
April 16, 2014, 07:04:23 PM
#54
what version of the program your using

I've tried 1.0, 1.0.2, 1.0.3, 1.0.4, and 1.0.5.  None of them have worked for me.

Since the API update, the CEX.IO bot doesnt work. Version 1.05 just gives a white screen. We need to wait for Kannibal to update it.
full member
Activity: 210
Merit: 100
April 15, 2014, 08:17:12 PM
#53
what version of the program your using

I've tried 1.0, 1.0.2, 1.0.3, 1.0.4, and 1.0.5.  None of them have worked for me.
sr. member
Activity: 295
Merit: 250
April 15, 2014, 08:33:40 AM
#52
what version of the program your using
newbie
Activity: 21
Merit: 0
April 10, 2014, 04:11:09 PM
#51
Any updates on a fix ?
full member
Activity: 210
Merit: 100
April 06, 2014, 11:59:23 PM
#50
I found the root error message it's giving:
Code:
Reinvestor_v1.0.jar
java.io.IOException: Server returned HTTP response code: 403 for URL: https://cex.io/api/balance/
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at CexAPI.post(CexAPI.java:156)
        at CexAPI.apiCall(CexAPI.java:189)
        at CexAPI.balance(CexAPI.java:231)
        at Reinvestor.execute(Reinvestor.java:256)
        at Reinvestor$ReinvestThread.run(Reinvestor.java:513)
full member
Activity: 210
Merit: 100
April 06, 2014, 11:45:08 PM
#49
I've not gotten it to work either.  1.0 gives a 0x1 error, and 1.05 loads to a blank white screen.  I reached out to the developer, but no response as yet.
sr. member
Activity: 630
Merit: 257
April 04, 2014, 10:46:06 AM
#48
As a "hats off" to the mining community, I decided to post my private php bot called balancebot thats for cex.io

I did not come up with the original idea, however, the original was limited to selling NMC and was out of date (a very good concept though!)

Usage is pretty simple, Modify the first 25 lines according to what you want traded (as well as your username, api_key and secret_key.

This bot attempts to balance your balances so they are equal.

At its default settings, the bot will NOT sell or do anything, you have to tell it what you want traded.

Support is in there for balancing: BTC, GHS, FHA, FHM, NMC and LTC.
There is also support for instant selling NMC and LTC.
As an example, if you only wanted to use the bot to sell LTC and NMC to obtain only GHS, you would set those respective fields to 1 from 0.. for the above example:
$balancing_GHS=0; change the 0 to 1
$autosell_LTC=0; change the 0 to 1
$autosell_NMC=0; change the 0 to 1

Hope the script helps somebody (it's definetly helped me in the last while)
I've put it up on pastebin with ID xx6QeyDY http://pastebin.com/xx6QeyDY

There is a bug (somewhere!) where it will try to purchase more than you have in BTC when it's trying to balance .. not entirely sure why unless its because it's including the sell orders which haven't sold.

Enjoy!
- SixOfFive
newbie
Activity: 47
Merit: 0
April 04, 2014, 12:04:39 AM
#47
anyone able to get it to work ?
jr. member
Activity: 52
Merit: 21
March 30, 2014, 06:44:20 AM
#46
Hello , kannibal3, I was going to download ver 1.0.5 using your link  https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5  but it hasn't downloaded! and I don't know why - it's just show nothing like my pc haven't seen it
newbie
Activity: 47
Merit: 0
March 29, 2014, 09:47:57 AM
#45
hi,

i had download the v1.0.5 after i start i see a login screen after i enter all detail i click login, a window show up white, and nothing happen
so i download 1.0.4 and after login a screen to allow me to enter setting.

so i just want every btc and nmc mining go into ghs so i leave it all 0, and i click on reinvest and waited nothing happen. i don't see Balance or anything.

is there anything i need to do ?

joe
full member
Activity: 154
Merit: 100
March 25, 2014, 02:27:55 AM
#44
I bookmarked this url link , i will try later some time
newbie
Activity: 3
Merit: 0
March 23, 2014, 01:10:14 AM
#43
I have been writing a program in GO that does all sorts of silly things like this.

You can find the source at https://github.com/travisstone/cex.io.reinvester
newbie
Activity: 21
Merit: 0
March 14, 2014, 10:13:28 PM
#42
I started working on something similar to this earlier today and just happen to run across this thread.
If anyone's interested, I wouldn't mind making it open source when it's done. Should probably finish it soon.
newbie
Activity: 19
Merit: 0
March 14, 2014, 09:03:55 AM
#41
Could be because they have added the futures trading tonight... More balances to retrieve..
newbie
Activity: 39
Merit: 0
March 14, 2014, 04:09:14 AM
#40
@ripmax and @Danglez2907 sorry for the problems guys. I know it actually doesn't work at all right now, I have a support ticket open with Cex Dev team, to find out what they changed about their environment. Right now the program will hang on determining the account balance, but I cant fix it until I get the reply. Sorry for the wait everyone.

No worries dude. All good, was just worried it was something at my end and should have figured the issue was with CEX<->API. Look forward to the update. Thanks
newbie
Activity: 19
Merit: 0
March 14, 2014, 03:41:35 AM
#39
Hi,

Thanks for the update, no problem (at least I know now that I wasn't doing something wrong for once).

Probably a good thing with the price tanking as it is, I only have BTC.2 in there anyway.

Just waiting to see what the situation is like when/if it stops falling.

I'm only toying around while I figure out if/when/what mining rig to buy since I retired my USB miners.

Cheers,

Dan
newbie
Activity: 21
Merit: 0
March 14, 2014, 12:00:19 AM
#38
@ripmax and @Danglez2907 sorry for the problems guys. I know it actually doesn't work at all right now, I have a support ticket open with Cex Dev team, to find out what they changed about their environment. Right now the program will hang on determining the account balance, but I cant fix it until I get the reply. Sorry for the wait everyone.
newbie
Activity: 19
Merit: 0
March 11, 2014, 03:12:34 AM
#37
Also created a fresh key and tried those (after I activated it)..

Still no good..

It will display prices but as soon as I tell it to start reinvesting I get the 403 again.

Hope this helps.

D
newbie
Activity: 19
Merit: 0
March 11, 2014, 03:04:20 AM
#36
I get the same thing..  White screen - Have to kill it..

When I run the CLI I get a 403 error.. Over & over...

java.io.IOException: Server returned HTTP response code: 403 for URL: https://cex.io/api/balance/
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at CexAPI.post(CexAPI.java:153)
        at CexAPI.apiCall(CexAPI.java:196)
        at CexAPI.balance(CexAPI.java:238)
        at Reinvestor.execute(Reinvestor.java:279)
        at Reinvestor$ReinvestThread.run(Reinvestor.java:541)
Exception in thread "Thread-0" java.util.NoSuchElementException: No line found
        at java.util.Scanner.nextLine(Unknown Source)
        at Reinvestor$InputThread.run(Reinvestor.java:443)

Looks like something may have changed in the API?Huh

Cheers,

Dan
newbie
Activity: 39
Merit: 0
March 10, 2014, 01:01:23 AM
#35
Hey kannibal

I have run into another issue. Its stopped working completely now for me. I double click on the .jar file. I get the login screen, I click Login, the re-investor window opens but its completely white with nothing in it and its hung. I tried changing my API keys , i cleared the Java Cache through Control Panel, I restarted my PC, I even left the application for 2 hours thinking it was an issue talking to CEX.IO but it stays White and hung. All I can do it kill the Java process. I also deleted the log files in the folder its installed to thinking maybe they were too large? Its never got to the point where it creates new ones yet.

ripmax
newbie
Activity: 21
Merit: 0
March 05, 2014, 01:54:14 PM
#34
dimka, try this new version (1.0.5) and let me know how it goes: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5

Hi Kannibal,

Thanks for the great program. Its been working for me on Win7 fine. I too get the "[Wed Feb 12 09:32:40 WST 2014] Error 0x1: {error:Invalid signature}" error. It seems to be occurring when I am logged into the CEX website at the same time the re investor program is running (or it could be just a co-incidence) . My log shows no errors most of the night and then I log into CEX this morning and now the error has returned. Doesnt seem to effect it doing purchases at all.

A Few suggestions to add to your program would be to

1. Export Log to CSV
2. Add selling to it. Pretty much how you have done the Buy option so a Reserve amount (Incase you want to keep BTC/NMC) , Max/Minimum price
3. Can it track your buys (ie how much its bought and whats the average price)
4. Re size the Log Window. You can re size the main Window but when you go to the log view, you cant re size that even though the main page is larger. Makes reading the log easier.

Thanks again.

ripmax


@ripmax, glad to hear it's working, and thank you for your suggestions; not many people give me in-depth feedback lol.

1) This looks like a good idea, and you may see this in the next or a future release (Assuming you mean the buy information).
2) I don't think this will happen any time soon, depending on exactly what you want. If you want day-trading, then you wont see that, because I don't know enough about algorithmic trading strategies and don't exactly have the spare time to look in-to it right now (sorry)!
3) Again a good idea, I'll look in to this.
4) You will see this in a future release; this was supposed to be implemented but I used the wrong layout on the GUI (I already know where the problem is lol, I just need to fix it and roll out an update).

Thanks again for the feedback, let me know if you have any others.

Hi Kannibal

For option 2, I didnt mean day trading, I understand it would be difficult to add looking at whats happening in the market, if its going up/down etc, I was referring to something as simple as the buy option.

If you say sell when price his 0.22222 and you have say 10GHs, but you put a reserve of say 2GHs, soon as price is above 0.22222 your program initiates a sell for 8GHs. This would be all user side settings. No need to work out what the market is doing.  All your program would need to do is a> Issue the sell (if its within the Sell Range) , b> If the price is out of the sell range to cancel the trade.

Personally I find the CEX.IO site pretty slow java wise even with a decent Computer (i7 + 16gb ram). if I could issues sells via re-investor I wouldn't need to login to the Site at all unless I want to read the troll (chat) box.

One other suggestion I might make, On the "information screen" , is it possible to list the current GHS/BTC price? At the moment the only way to see the price is either check on CEX.IO or start the reinvestor let it go off and get the first price (you hope your not going to have a too high a buy price) , then hold it again, update your High/Low prices. When it does the first API call and updates your Bitcoins and number of GHs etc if It could grab last Buy trade and display the current price.

Thanks again

ripmax

@ripmax, I may implement something like this, because the method is easy to produce and puts all the blame on the users for bad settings lol. Thanks for the suggestions I will look into them.
newbie
Activity: 39
Merit: 0
March 04, 2014, 02:07:22 AM
#33
dimka, try this new version (1.0.5) and let me know how it goes: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5

Hi Kannibal,

Thanks for the great program. Its been working for me on Win7 fine. I too get the "[Wed Feb 12 09:32:40 WST 2014] Error 0x1: {error:Invalid signature}" error. It seems to be occurring when I am logged into the CEX website at the same time the re investor program is running (or it could be just a co-incidence) . My log shows no errors most of the night and then I log into CEX this morning and now the error has returned. Doesnt seem to effect it doing purchases at all.

A Few suggestions to add to your program would be to

1. Export Log to CSV
2. Add selling to it. Pretty much how you have done the Buy option so a Reserve amount (Incase you want to keep BTC/NMC) , Max/Minimum price
3. Can it track your buys (ie how much its bought and whats the average price)
4. Re size the Log Window. You can re size the main Window but when you go to the log view, you cant re size that even though the main page is larger. Makes reading the log easier.

Thanks again.

ripmax


@ripmax, glad to hear it's working, and thank you for your suggestions; not many people give me in-depth feedback lol.

1) This looks like a good idea, and you may see this in the next or a future release (Assuming you mean the buy information).
2) I don't think this will happen any time soon, depending on exactly what you want. If you want day-trading, then you wont see that, because I don't know enough about algorithmic trading strategies and don't exactly have the spare time to look in-to it right now (sorry)!
3) Again a good idea, I'll look in to this.
4) You will see this in a future release; this was supposed to be implemented but I used the wrong layout on the GUI (I already know where the problem is lol, I just need to fix it and roll out an update).

Thanks again for the feedback, let me know if you have any others.

Hi Kannibal

For option 2, I didnt mean day trading, I understand it would be difficult to add looking at whats happening in the market, if its going up/down etc, I was referring to something as simple as the buy option.

If you say sell when price his 0.22222 and you have say 10GHs, but you put a reserve of say 2GHs, soon as price is above 0.22222 your program initiates a sell for 8GHs. This would be all user side settings. No need to work out what the market is doing.  All your program would need to do is a> Issue the sell (if its within the Sell Range) , b> If the price is out of the sell range to cancel the trade.

Personally I find the CEX.IO site pretty slow java wise even with a decent Computer (i7 + 16gb ram). if I could issues sells via re-investor I wouldn't need to login to the Site at all unless I want to read the troll (chat) box.

One other suggestion I might make, On the "information screen" , is it possible to list the current GHS/BTC price? At the moment the only way to see the price is either check on CEX.IO or start the reinvestor let it go off and get the first price (you hope your not going to have a too high a buy price) , then hold it again, update your High/Low prices. When it does the first API call and updates your Bitcoins and number of GHs etc if It could grab last Buy trade and display the current price.

Thanks again

ripmax
newbie
Activity: 21
Merit: 0
February 27, 2014, 11:58:18 PM
#32
dimka, try this new version (1.0.5) and let me know how it goes: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5

Hi Kannibal

Thanks for the great program. Its been working for me on Win7 fine. I too get the "[Wed Feb 12 09:32:40 WST 2014] Error 0x1: {error:Invalid signature}" error. It seems to be occurring when I am logged into the CEX website at the same time the re investor program is running (or it could be just a co-incidence) . My log shows no errors most of the night and then I log into CEX this morning and now the error has returned. Doesnt seem to effect it doing purchases at all.

A Few suggestions to add to your program would be to

1. Export Log to CSV
2. Add selling to it. Pretty much how you have done the Buy option so a Reserve amount (Incase you want to keep BTC/NMC) , Max/Minimum price
3. Can it track your buys (ie how much its bought and whats the average price)
4. Re size the Log Window. You can re size the main Window but when you go to the log view, you cant re size that even though the main page is larger. Makes reading the log easier.

Thanks again.

ripmax


@ripmax, glad to hear it's working, and thank you for your suggestions; not many people give me in-depth feedback lol.

1) This looks like a good idea, and you may see this in the next or a future release (Assuming you mean the buy information).
2) I don't think this will happen any time soon, depending on exactly what you want. If you want day-trading, then you wont see that, because I don't know enough about algorithmic trading strategies and don't exactly have the spare time to look in-to it right now (sorry)!
3) Again a good idea, I'll look in to this.
4) You will see this in a future release; this was supposed to be implemented but I used the wrong layout on the GUI (I already know where the problem is lol, I just need to fix it and roll out an update).

Thanks again for the feedback, let me know if you have any others.
newbie
Activity: 21
Merit: 0
February 27, 2014, 11:52:01 PM
#31
cex.io forum is being weird and I can't go to next page to read the whole thread to see if this has been solved.

I've tried the software on 2 machines.

First Windows 7 Professional 64-bit with Java 32-bit version 7 update 21

Second Windows 8 64-bit with Java 32-bit version 7 update 45

I'm getting the same thing as following;

Code:
[Wed Feb 26 09:32:43 EST 2014]Settings saved successfully!
[Wed Feb 26 09:32:45 EST 2014] Settings saved successfully!
[Wed Feb 26 09:32:45 EST 2014] Reinvesting.
[Wed Feb 26 09:32:45 EST 2014] Error 0x1: {1393425154:XXXXXXX:[0.01772206:0.00000000]:[297.00000000]:[33.20092890]:[1259.06369852]:[9.57136980]}
[Wed Feb 26 09:33:15 EST 2014] Error 0x1: {1393425184:XXXXXXX:[0.01772206:0.00000000]:[297.00000000]:[33.20092890]:[1259.06369852]:[9.57136980]}
[Wed Feb 26 09:33:47 EST 2014] Error 0x1: {1393425216:XXXXXXX:[0.01772206:0.00000000]:[297.00000000]:[33.20092890]:[1259.06369852]:[9.57136980]}

Same thing happens on both computers. Help!

@mdpro1, Hello, if you would like to keep up with the project, you can follow it here: https://github.com/zackurben/cex.io-reinvestor

Also, you can see the wiki for any problems you may encounter: https://github.com/zackurben/cex.io-reinvestor/wiki

On to your question: The 0x1 error is infamous, unfortunately I do not know what makes this happen, because it only happens for some people; for example v1.0.5 works fine for me, and in-fact, I didn't even know a problem existed until I started getting emails from people with debug information.

That being said, I have had multiple emails during the last few days, and I am going to look into it as soon as I can, however it happens to be around midterms so I'm rather busy atm.

If you are looking for an immediate fix, you may try v1.0.2 (https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.2) and v1.0.3 (https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.3) - which have happened to work for people who cannot run v1.0.5. (Keep in mind they are more ghetto, hence why they are a few releases behind.)


That's amazing! Haven't heard  about that before! Looks cool!
Kannibal3 , thanks a lot for creating this

@bazzanii, glad you enjoy it. Hopefully it works for you!
newbie
Activity: 28
Merit: 0
February 27, 2014, 01:38:33 AM
#30

That's amazing! Haven't heard  about that before! Looks cool!
Kannibal3 , thanks a lot for creating this
sr. member
Activity: 308
Merit: 250
Double your Personal Bitcoin Funds.
February 26, 2014, 09:40:12 AM
#29
cex.io forum is being weird and I can't go to next page to read the whole thread to see if this has been solved.

I've tried the software on 2 machines.

First Windows 7 Professional 64-bit with Java 32-bit version 7 update 21

Second Windows 8 64-bit with Java 32-bit version 7 update 45

I'm getting the same thing as following;

Code:
[Wed Feb 26 09:32:43 EST 2014]Settings saved successfully!
[Wed Feb 26 09:32:45 EST 2014] Settings saved successfully!
[Wed Feb 26 09:32:45 EST 2014] Reinvesting.
[Wed Feb 26 09:32:45 EST 2014] Error 0x1: {1393425154:XXXXXXX:[0.01772206:0.00000000]:[297.00000000]:[33.20092890]:[1259.06369852]:[9.57136980]}
[Wed Feb 26 09:33:15 EST 2014] Error 0x1: {1393425184:XXXXXXX:[0.01772206:0.00000000]:[297.00000000]:[33.20092890]:[1259.06369852]:[9.57136980]}
[Wed Feb 26 09:33:47 EST 2014] Error 0x1: {1393425216:XXXXXXX:[0.01772206:0.00000000]:[297.00000000]:[33.20092890]:[1259.06369852]:[9.57136980]}

Same thing happens on both computers. Help!
newbie
Activity: 39
Merit: 0
February 11, 2014, 08:43:15 PM
#28
dimka, try this new version (1.0.5) and let me know how it goes: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5

Hi Kannibal

Thanks for the great program. Its been working for me on Win7 fine. I too get the "[Wed Feb 12 09:32:40 WST 2014] Error 0x1: {error:Invalid signature}" error. It seems to be occurring when I am logged into the CEX website at the same time the re investor program is running (or it could be just a co-incidence) . My log shows no errors most of the night and then I log into CEX this morning and now the error has returned. Doesnt seem to effect it doing purchases at all.

A Few suggestions to add to your program would be to

1. Export Log to CSV
2. Add selling to it. Pretty much how you have done the Buy option so a Reserve amount (Incase you want to keep BTC/NMC) , Max/Minimum price
3. Can it track your buys (ie how much its bought and whats the average price)
4. Re size the Log Window. You can re size the main Window but when you go to the log view, you cant re size that even though the main page is larger. Makes reading the log easier.

Thanks again.

ripmax
newbie
Activity: 43
Merit: 0
February 08, 2014, 11:31:22 PM
#27
dimka, try this new version (1.0.5) and let me know how it goes: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5

Still Getting it:

Code:
[Sat Feb 08 20:30:50 PST 2014] Settings saved successfully!
[Sat Feb 08 20:30:50 PST 2014] Reinvesting.
[Sat Feb 08 20:30:50 PST 2014] Error 0x1: {1391920242:dimkako99:[0.01060330:0.00000000]:[0.00000000:10.87304114]:[0.18214283]:[3.73134923]:[0.04912612]}
[Sat Feb 08 20:31:21 PST 2014] Error 0x1: {1391920273:dimkako99:[0.01060330:0.00000000]:[0.00000000:10.87304114]:[0.18214283]:[3.73134923]:[0.04912612]}
newbie
Activity: 21
Merit: 0
February 01, 2014, 08:12:32 PM
#26
dimka, try this new version (1.0.5) and let me know how it goes: https://github.com/zackurben/cex.io-reinvestor/releases/tag/1.0.5
newbie
Activity: 43
Merit: 0
January 29, 2014, 03:57:20 PM
#25
Do you only see the 0x1 error repeatedly? Have you used that API key-pair with another program that uses the Cex API? Does that API key-pair have full trading permissions?

I always get the 0x1 error

Have not used the API key-pair with another program

API key has all permissions
newbie
Activity: 21
Merit: 0
January 27, 2014, 10:52:59 PM
#24
Do you only see the 0x1 error repeatedly? Have you used that API key-pair with another program that uses the Cex API? Does that API key-pair have full trading permissions?
newbie
Activity: 43
Merit: 0
January 27, 2014, 10:33:43 PM
#23
dimika, sorry it's not working for you. Mind if I ask, what version of the program your using, and your os?

Wait is this os only? Because I'm not running os. and im using version 1.0.4

This is platform independent, I was curious as to what operating system your using, to try and help debug the problem Smiley

I am running:

newbie
Activity: 21
Merit: 0
January 27, 2014, 10:27:19 PM
#22
dimika, sorry it's not working for you. Mind if I ask, what version of the program your using, and your os?

Wait is this os only? Because I'm not running os. and im using version 1.0.4

This is platform independent, I was curious as to what operating system your using, to try and help debug the problem Smiley
newbie
Activity: 43
Merit: 0
January 27, 2014, 10:15:43 PM
#21
dimika, sorry it's not working for you. Mind if I ask, what version of the program your using, and your os?

Wait is this os only? Because I'm not running os. and im using version 1.0.4
newbie
Activity: 21
Merit: 0
January 27, 2014, 10:07:42 PM
#20
dimika, sorry it's not working for you. Mind if I ask, what version of the program your using, and your os?
newbie
Activity: 43
Merit: 0
January 27, 2014, 09:49:49 PM
#19
Hey When i try to run the reinvester, this is the error that i get:

Quote
[Mon Jan 27 15:54:36 PST 2014] Settings saved successfully!
[Mon Jan 27 15:54:36 PST 2014] Reinvesting.
[Mon Jan 27 15:54:37 PST 2014] Error 0x1: {1390866875:dimkako99:[0.00357863:0.00000000]:[0.00000000:4.84203308]:[0.03184367]:[1.32393429]:[0.00927643]}

I think we all do, but seems to work otherwise.

It's not working for me....

Here are my settings:
full member
Activity: 168
Merit: 100
January 27, 2014, 08:40:02 PM
#18
Hey When i try to run the reinvester, this is the error that i get:

Quote
[Mon Jan 27 15:54:36 PST 2014] Settings saved successfully!
[Mon Jan 27 15:54:36 PST 2014] Reinvesting.
[Mon Jan 27 15:54:37 PST 2014] Error 0x1: {1390866875:dimkako99:[0.00357863:0.00000000]:[0.00000000:4.84203308]:[0.03184367]:[1.32393429]:[0.00927643]}

I think we all do, but seems to work otherwise.
newbie
Activity: 43
Merit: 0
January 27, 2014, 06:55:53 PM
#17
Hey When i try to run the reinvester, this is the error that i get:

Quote
[Mon Jan 27 15:54:36 PST 2014] Settings saved successfully!
[Mon Jan 27 15:54:36 PST 2014] Reinvesting.
[Mon Jan 27 15:54:37 PST 2014] Error 0x1: {1390866875:dimkako99:[0.00357863:0.00000000]:[0.00000000:4.84203308]:[0.03184367]:[1.32393429]:[0.00927643]}
sr. member
Activity: 280
Merit: 250
January 26, 2014, 03:26:50 PM
#16
Yes, when I start the App, it shows the first dialog, which is called "Settings". I am not sure if "Settings" is the right title, but I do not care much. The point is, at one glance I could see what happened since the last time I took a look. I remember what my GHS, BTC and NMC were. I expect to see BTC/NMC very low and close to Reserve figures. I would like to see the GHS instantly in big bold digits. Thanks, really nicely done.
newbie
Activity: 21
Merit: 0
January 26, 2014, 02:02:53 PM
#15
Worked out of the box, instantly. Entire setup took less than 2 minutes. GREAT app.

I would show GHS, BTC and NMC balance on the front screen when Reinvestor starts, since these are primary trading objects.

I like how you list more balances and other details under information tab.

Great, I'm glad others found use in it!

Which screen do you consider the 'front screen'? I'm assuming in the settings tab, where you can set what to trade with and the prices?

So you can see your balance of each coin before you set limits and what not?
full member
Activity: 168
Merit: 100
January 26, 2014, 01:26:08 PM
#14
I like it cause it feels a lot like dollar cost averaging. I can always disable it during silly highs.. but overall, I think my average is pretty good.
sr. member
Activity: 280
Merit: 250
January 26, 2014, 11:10:44 AM
#13
Worked out of the box, instantly. Entire setup took less than 2 minutes. GREAT app.

I would show GHS, BTC and NMC balance on the front screen when Reinvestor starts, since these are primary trading objects.

I like how you list more balances and other details under information tab.
full member
Activity: 168
Merit: 100
January 26, 2014, 12:46:51 AM
#12
Great, glad to hear it works now.

Let me know if you have any improvement suggestions!

Zack.

If anything, I like how simple it is.


I guess if you could run as a service and it show up down by the clock.

and maybe on the login screen some convenience links (though I know some people including myself are a little iffy about clicking links). Though some people may not know the API function is under profile.

https://cex.io/trade/profile#api     - if you looked at the status bar to see where it really went to, then you're no different  Wink

and

https://www.google.com/#hl=en&q=what's+my+ip&safe=off (or at-least filter for the answer so it can be used at cex.io, google always lists it between "Your public IP address is XXX.XXX.XXX.XXX - Learn more")

newbie
Activity: 21
Merit: 0
January 26, 2014, 12:15:11 AM
#11
Great, glad to hear it works now.

Let me know if you have any improvement suggestions!

Zack.
full member
Activity: 168
Merit: 100
January 25, 2014, 11:34:34 PM
#10
dmpotter, typing the following in cmd should work, for the java version:

Code:
java -version

Also, the errors you got were file read/write problems. Can you run it as admin? I write the setting to a small text file (actually a csv saved as .txt) and that seems to be the error.

Honestly I have neglected the CLI version as of late, because I anticipated more people using the GUI version, but I will add more documentation to my Github wiki to help people get started and answer any questions that may arise.

TL;DR: Right click the jar and run as admin to see if the GUI version works.

That worked, but had to do it a different way.

For some reason, run as administrator wasn't a choice.



But if it's a storage/read problem, I gave myself rights to the directory.



Ignore, the initial errors, forgot to turn off the CLI Smiley



newbie
Activity: 21
Merit: 0
January 25, 2014, 11:12:34 PM
#9
dmpotter, typing the following in cmd should work, for the java version:

Code:
java -version

Also, the errors you got were file read/write problems. Can you run it as admin? I write the setting to a small text file (actually a csv saved as .txt) and that seems to be the error.

Honestly I have neglected the CLI version as of late, because I anticipated more people using the GUI version, but I will add more documentation to my Github wiki to help people get started and answer any questions that may arise.

TL;DR: Right click the jar and run as admin to see if the GUI version works.
full member
Activity: 168
Merit: 100
January 25, 2014, 10:43:30 PM
#8
Zack!

You're a skilled person that is for sure. Just the idea you put a cli in with your gui was a lot of effort.

As far as I know my system is normal (North American) windows 8 pro with the exception of the following.
On my windows 7 machines when I dropped down to dos prompt, I just had to type java and it would work (I guess it was part of my cmd path)..


This is what my bat file looks like to start it in CLI, where the secret and key are correct. You'll notice I have to put the path absolute path there.

Code:
@echo off
C:
cd \PROGRA~1\CEX~1.IOR
\PROGRA~2\Java\jre7\bin\java -jar Reinvestor_v1.0.4.jar dmpotter1361 itsmypartyand illcryifiwanttoo

For the GUI, when I plug in the username and secret/key, I get the following errors when I hit toggle investor, I also don't get any balances.




Thank you for your time, and your in my awesome people's book!
newbie
Activity: 21
Merit: 0
January 25, 2014, 08:31:17 PM
#7
Hey guys, this is random, but I am the developer Zack.

I'm glad you guys are finding this useful!

yes its called  cex.io reinvestor by zack urben..

it is over on the cex.io forums somewhere. (2 lazy to look myself)


Huge props to both of you and the developer of the software! Didn't even think that something like this exists, lol.
Thank you!

I got the CLI version working, the gui didn't work for me.. but not going to complain.. use to terminal anyhow Smiley

ex. C:\PROGRA~2\Java\jre7\bin\java -jar Reinvestor_v1.0.4.jar username key secret
dmpotter, do you mind if I ask: 1) what version of java you are using, 2) what happens when you try to run the program in GUI mode, and 3) are you in a non North American region? I would love to fix any problems that exist.

Also, for reference, I will include my original post on the Cex.io support forms, if any of you would like to follow the development updates: https://support.cex.io/entries/37739687-Earnings-Reinvestment-Application-kannibal3-Official-
sr. member
Activity: 243
Merit: 250
January 22, 2014, 11:10:36 AM
#6

Nice, didn't know there is a bot for such thing.
full member
Activity: 168
Merit: 100
January 22, 2014, 11:01:05 AM
#5
yes its called  cex.io reinvestor by zack urben..

it is over on the cex.io forums somewhere. (2 lazy to look myself)


Huge props to both of you and the developer of the software! Didn't even think that something like this exists, lol.
Thank you!

I got the CLI version working, the gui didn't work for me.. but not going to complain.. use to terminal anyhow Smiley

ex. C:\PROGRA~2\Java\jre7\bin\java -jar Reinvestor_v1.0.4.jar username key secret
member
Activity: 138
Merit: 10
January 22, 2014, 10:08:32 AM
#4
yes its called  cex.io reinvestor by zack urben..

it is over on the cex.io forums somewhere. (2 lazy to look myself)


Huge props to both of you and the developer of the software! Didn't even think that something like this exists, lol.
Thank you!
full member
Activity: 168
Merit: 100
January 22, 2014, 12:30:03 AM
#3
sr. member
Activity: 464
Merit: 250
January 21, 2014, 06:13:21 PM
#2
yes its called  cex.io reinvestor by zack urben..

it is over on the cex.io forums somewhere. (2 lazy to look myself)

full member
Activity: 168
Merit: 100
January 20, 2014, 05:01:37 PM
#1
Anyone know of a safe bot to just autobuy gh/s every hour or so with the mined amount of btc and nmc? I've seen several bots, but either the focus only on the btc amount or attempt some form of trading.
Jump to: