Bitcoin Forum
November 09, 2024, 11:26:14 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 »  All
  Print  
Author Topic: [ANN] CryptoSwitcher - Automatically mine the best coin.  (Read 95403 times)
pytel
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
June 19, 2013, 10:52:55 AM
 #101

Hi,
when i try to run cryptoswitcher i get this error:
<<< Round 1 >>>
time: 2013-06-17 14:57:24
getting data... done
comparing profitabilty...
------------------------------------
    Bitcoin: 103  (fee:  0, src: cc)
FeatherCoin: 134  (fee:  2, src: cc)
DigitalCoin: 142  (fee:  2, src: cc)
  TerraCoin: 119  (fee:  2, src: cc)
    Devcoin:   0  (fee:  0, src: cc)
   Litecoin: 117  (fee:  0, src: cc)
     IXCoin:   0  (fee:  0, src: cc)
   NameCoin:   2  (fee:  0, src: cc)
------------------------------------
=> Best: 140, mining DigitalCoin
=> Switching to DigitalCoin (running dgcoin.sh)
Traceback (most recent call last):
  File "cryptoSwitcher.py", line 566, in <module>
    subprocess.Popen(coins[bestcoin].command)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Can someone help me?
peonminer
Hero Member
*****
Offline Offline

Activity: 798
Merit: 531


Crypto is King.


View Profile
June 19, 2013, 07:05:49 PM
 #102

OP, please add Cryptsy to the auto sell option of CryptoSwitcher!
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 19, 2013, 08:22:09 PM
 #103

OP, please add Cryptsy to the auto sell option of CryptoSwitcher!

I've already done that. My changes were merged into this project's GitHub repo, so

Code:
cd CryptoSwitcher && git pull

should bring you up to date.  Check cryptoSwitcher.config.sample for updated options.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 19, 2013, 08:23:56 PM
 #104

Hi,
when i try to run cryptoswitcher i get this error:
<<< Round 1 >>>
time: 2013-06-17 14:57:24
getting data... done
comparing profitabilty...
------------------------------------
    Bitcoin: 103  (fee:  0, src: cc)
FeatherCoin: 134  (fee:  2, src: cc)
DigitalCoin: 142  (fee:  2, src: cc)
  TerraCoin: 119  (fee:  2, src: cc)
    Devcoin:   0  (fee:  0, src: cc)
   Litecoin: 117  (fee:  0, src: cc)
     IXCoin:   0  (fee:  0, src: cc)
   NameCoin:   2  (fee:  0, src: cc)
------------------------------------
=> Best: 140, mining DigitalCoin
=> Switching to DigitalCoin (running dgcoin.sh)
Traceback (most recent call last):
  File "cryptoSwitcher.py", line 566, in <module>
    subprocess.Popen(coins[bestcoin].command)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Can someone help me?

Does dgcoin.sh exist?  It doesn't ship with CryptoSwitcher; you'll have to create it yourself.  Assuming that it does, you might want to enter it in cryptoSwitcher.config as ./dgcoin.sh, just to be safe.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
area (OP)
Full Member
***
Offline Offline

Activity: 177
Merit: 100


View Profile
June 19, 2013, 10:33:47 PM
 #105

Man, salfer, you're on the ball, both here and over on GitHub. I've given you commit rights to the main repo.
jgm_coin
Full Member
***
Offline Offline

Activity: 230
Merit: 100



View Profile
June 20, 2013, 05:35:23 AM
 #106

Hey thanks for the great collection.  I hope to learn more about python scripting by reading this work.

I'm getting an error that my config file is wrong from line 108 of cryptoswitcher.py - I know this cannot be true since I did in fact edit the config file. 

I suspect I am using the wrong version of python (which has happened several times in the past). What version of python should be used with cryptoswitcher?  I'm using python 3.3

Thanks in advance for any help.

Best wishes,
Jgmcoin

Rent out your rig for up to 100% more than you can mine http://tinyurl.com/lc5axo2
heartofalion
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
June 20, 2013, 06:28:21 AM
Last edit: June 20, 2013, 11:25:08 AM by heartofalion
 #107

Looking through all of this, the only issue I am having ATM is finding where to set the ammount sell triggers for Cryptsy

I also am not seeing memecoin, megacoin, fastcoin...etc Is there a way i can add them myself?

EDIT::::: Nevermind i figured out how to add other coins Smiley
pytel
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
June 20, 2013, 10:39:16 AM
 #108

Hi,
when i try to run cryptoswitcher i get this error:
<<< Round 1 >>>
time: 2013-06-17 14:57:24
getting data... done
comparing profitabilty...
------------------------------------
    Bitcoin: 103  (fee:  0, src: cc)
FeatherCoin: 134  (fee:  2, src: cc)
DigitalCoin: 142  (fee:  2, src: cc)
  TerraCoin: 119  (fee:  2, src: cc)
    Devcoin:   0  (fee:  0, src: cc)
   Litecoin: 117  (fee:  0, src: cc)
     IXCoin:   0  (fee:  0, src: cc)
   NameCoin:   2  (fee:  0, src: cc)
------------------------------------
=> Best: 140, mining DigitalCoin
=> Switching to DigitalCoin (running dgcoin.sh)
Traceback (most recent call last):
  File "cryptoSwitcher.py", line 566, in <module>
    subprocess.Popen(coins[bestcoin].command)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Can someone help me?

Does dgcoin.sh exist?  It doesn't ship with CryptoSwitcher; you'll have to create it yourself.  Assuming that it does, you might want to enter it in cryptoSwitcher.config as ./dgcoin.sh, just to be safe.

Yes, it exists and have the right rights and added in cryptoconfig
cokeman0
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
June 20, 2013, 01:52:44 PM
 #109

Anyone gotten this working under windows.

I get this error:

Traceback (most recent call last):
  File "cryptoSwitcher.py", line 13, in <module>
    from PyCryptsy import PyCryptsy
  File "./PyCryptsy/PyCryptsy.py", line 25, in <module>
    import pycurl
ImportError: No module named pycurl


I have tried to install pycurl, but I keep getting errors, is there anyone that has a curl (that pycurl works with) that will share ?

salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 20, 2013, 04:00:13 PM
Last edit: June 20, 2013, 04:33:18 PM by salfter
 #110

Anyone gotten this working under windows.

I get this error:

Traceback (most recent call last):
  File "cryptoSwitcher.py", line 13, in <module>
    from PyCryptsy import PyCryptsy
  File "./PyCryptsy/PyCryptsy.py", line 25, in <module>
    import pycurl
ImportError: No module named pycurl

I have tried to install pycurl, but I keep getting errors, is there anyone that has a curl (that pycurl works with) that will share ?

I usually work with Linux, but am working on getting Python on Windows to the point where it'll run CryptoSwitcher.  In the meantime, you might give the PyCurl builds on this page a shot:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Edit: Confirmed working with the following configuration on Windows 7 Professional for AMD64:

Python 2.7.5 (install with default options)
   http://www.python.org/download/releases/2.7.5/

setuptools
   https://pypi.python.org/pypi/setuptools/0.7.4#windows
   open administrator command prompt, then install with
Code:
python ez_setup.py
   
pip, PyCurl, NumPy, simplejson
   http://www.lfd.uci.edu/~gohlke/pythonlibs/
   
Make sure c:\Python27 and c:\Python27\Scripts are in your PATH, then open an administrator command prompt and install beautifulsoup4:

Code:
pip install beautifulsoup4

urllib2 appears to be part of the base Python install, so with everything above installed, CryptoSwitcher should fire up.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
evilscoop
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
June 20, 2013, 04:02:09 PM
 #111

nice, ill have to try this on the pi
jgm_coin
Full Member
***
Offline Offline

Activity: 230
Merit: 100



View Profile
June 20, 2013, 05:47:03 PM
 #112

Anyone got this working on Win7 yet?

I would like to know this too, and if there is anything that could be done to make it easier to run on Windows, I'd look into it.

Yes It's working on my Win 7 64 setup.. Grin Heres all the hassles I had.. Roll Eyes

1 You can't use python 3.3.. Use Python 2.7.4 (has urllib 2 ) http://www.python.org/download/releases/2.7.4/

2 Remember to set your path to python 27 (Instructions : http://www.youtube.com/watch?v=ddpYVA-7wq4  )

3 You need to install beautifulsoup4-4.0.0b10 (later version didn't work)
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.0/

4 You need to install simplejson https://github.com/simplejson/simplejson

5 You need to install Numpy from the appropiate executable found only here : http://www.lfd.uci.edu/~gohlke/pythonlibs/

6 You need to download pyvircurex-master.zip and btce-api-master.zip and drop their files into the appropiate folders in the cryptoswitcher directory.

Then, if you have changed the cryptoswitcher.config to read batchfiles like the supplied bitcoin.bat, it works like a dream.

Happy geeking  Wink


To the author:  these dependencies are not clear from your github - please update when you have time


Rent out your rig for up to 100% more than you can mine http://tinyurl.com/lc5axo2
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 20, 2013, 07:23:24 PM
 #113

Now that I have CryptoSwitcher running on Windows, I have it set up for altcoin mining with my Jalapeños.  Altcoin mining with ASICs is a bit more limited as not many of them use the same sha256d proof-of-work as Bitcoin, but I have CryptoSwitcher set up to switch between Bitcoin and Freicoin.  Terracoin and PPCoin might also be worth setting up. I had my Jalapeños aimed at Coinotron's FRC pool for an hour or so this morning for testing...kicked their hashrate up by 50% and found a block.  Grin

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
heartofalion
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
June 20, 2013, 08:37:42 PM
 #114

Salfter, mine is up and running on windows but the auto sell function doesnt seem to be working. I have PyCrptsy.py in the appropriate folder and have put my api keys in the config file and set the ones i want to sell to true, although it doesnt seem to be selling? Is there a certain amount of coins you need before it will sell? Or am i missing something.

Thanks!
Jazkal
Sr. Member
****
Offline Offline

Activity: 319
Merit: 250



View Profile
June 20, 2013, 08:47:54 PM
 #115

Now that I have CryptoSwitcher running on Windows, I have it set up for altcoin mining with my Jalapeños.  Altcoin mining with ASICs is a bit more limited as not many of them use the same sha256d proof-of-work as Bitcoin, but I have CryptoSwitcher set up to switch between Bitcoin and Freicoin.  Terracoin and PPCoin might also be worth setting up. I had my Jalapeños aimed at Coinotron's FRC pool for an hour or so this morning for testing...kicked their hashrate up by 50% and found a block.  Grin
Jumping between coins, I found that you need to find a PPS pool, or mine solo. Just an FYI. For the lower hash diff CrapCoins out there, it isn't as important, but you won't be mining those with the Japs.
Jazkal
Sr. Member
****
Offline Offline

Activity: 319
Merit: 250



View Profile
June 20, 2013, 08:49:52 PM
Last edit: June 21, 2013, 05:17:54 AM by Jazkal
 #116


After adding in the pycurl mentioned in an above post I was able to verify that the BTC-e and Cryptsy trading is working.
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 20, 2013, 09:09:55 PM
 #117

Salfter, mine is up and running on windows but the auto sell function doesnt seem to be working. I have PyCrptsy.py in the appropriate folder and have put my api keys in the config file and set the ones i want to sell to true, although it doesnt seem to be selling? Is there a certain amount of coins you need before it will sell? Or am i missing something.

Thanks!
I was able to get the auto switching working with LittleDigger's guide. But I never got the auto selling features to work on Windows.

Has anyone else gotten that to work on Windows?

I've not had it on altcoins long enough for it to kick in, though it just switched over to Terracoin a bit ago.  We'll see what happens over the next several hours or so.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
Jazkal
Sr. Member
****
Offline Offline

Activity: 319
Merit: 250



View Profile
June 21, 2013, 05:16:20 AM
 #118

Did this one not have what you need?
jgm_coin
Full Member
***
Offline Offline

Activity: 230
Merit: 100



View Profile
June 21, 2013, 04:22:33 PM
 #119


After adding in the pycurl mentioned in an above post I was able to verify that the BTC-e and Cryptsy trading is working.


I did have successful cryptsy trading but the software crashes if it can't access cryptsy when the site is down for any reason.  I'm going to try to fix this.

Rent out your rig for up to 100% more than you can mine http://tinyurl.com/lc5axo2
Mr.V
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
June 22, 2013, 11:43:40 PM
 #120

Now that I have CryptoSwitcher running on Windows, I have it set up for altcoin mining with my Jalapeños.  Altcoin mining with ASICs is a bit more limited as not many of them use the same sha256d proof-of-work as Bitcoin, but I have CryptoSwitcher set up to switch between Bitcoin and Freicoin.  Terracoin and PPCoin might also be worth setting up. I had my Jalapeños aimed at Coinotron's FRC pool for an hour or so this morning for testing...kicked their hashrate up by 50% and found a block.  Grin
Jumping between coins, I found that you need to find a PPS pool, or mine solo. Just an FYI. For the lower hash diff CrapCoins out there, it isn't as important, but you won't be mining those with the Japs.

What happens if your not on a PPS pool when constantly switching between coins? do you not get paid for what you put in?

BTC:1NwEE7C2hVLSNGwSrFvsYgTrKddCvfhRwY
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 »  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!