Bitcoin Forum
May 09, 2024, 09:43:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: cex.io purchase bot  (Read 9289 times)
Raptor2213
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
April 30, 2014, 06: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.

Did something I say help you out?    BTC - 18oTipf66z8dbwTgRCiPjbdPmqEP7zuCFb
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715290982
Hero Member
*
Offline Offline

Posts: 1715290982

View Profile Personal Message (Offline)

Ignore
1715290982
Reply with quote  #2

1715290982
Report to moderator
ripmax
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
May 04, 2014, 01:52:43 PM
 #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.
kannibal3
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 05, 2014, 02:32:54 AM
 #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
Raptor2213
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
May 05, 2014, 05: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.

Did something I say help you out?    BTC - 18oTipf66z8dbwTgRCiPjbdPmqEP7zuCFb
kannibal3
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 06, 2014, 05: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.
Raptor2213
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
May 06, 2014, 05: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.

Did something I say help you out?    BTC - 18oTipf66z8dbwTgRCiPjbdPmqEP7zuCFb
PabiGamito
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
May 08, 2014, 09: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
kannibal3
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 08, 2014, 10: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
Sir William
Member
**
Offline Offline

Activity: 128
Merit: 11


View Profile
May 22, 2014, 10:22:06 AM
Last edit: May 23, 2014, 08:27:46 AM by Sir William
 #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...

nmbit
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
June 17, 2014, 07: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
mboehler
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
July 14, 2014, 02:03:09 AM
 #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!
kannibal3
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
July 18, 2014, 01:38:36 AM
 #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.
abstream
Member
**
Offline Offline

Activity: 81
Merit: 10


View Profile
September 13, 2014, 09: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://bitcointalk.org/index.php?topic=780899.0

or the website itself: http://cexapibot.com
Pages: « 1 2 3 [4]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!