Pages:
Author

Topic: [ANN] CryptoSwitcher - Automatically mine the best coin. - page 7. (Read 95410 times)

sr. member
Activity: 319
Merit: 250
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.
newbie
Activity: 19
Merit: 0
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!
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
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
full member
Activity: 230
Merit: 100
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

sr. member
Activity: 350
Merit: 250
nice, ill have to try this on the pi
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
Anyone gotten this working under windows.

I get this error:

Traceback (most recent call last):
  File "cryptoSwitcher.py", line 13, in
    from PyCryptsy import PyCryptsy
  File "./PyCryptsy/PyCryptsy.py", line 25, in
    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.
newbie
Activity: 51
Merit: 0
Anyone gotten this working under windows.

I get this error:

Traceback (most recent call last):
  File "cryptoSwitcher.py", line 13, in
    from PyCryptsy import PyCryptsy
  File "./PyCryptsy/PyCryptsy.py", line 25, in
    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 ?

newbie
Activity: 6
Merit: 0
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
    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
newbie
Activity: 19
Merit: 0
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
full member
Activity: 230
Merit: 100
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
full member
Activity: 177
Merit: 100
Man, salfer, you're on the ball, both here and over on GitHub. I've given you commit rights to the main repo.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
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
    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.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
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.
hero member
Activity: 798
Merit: 531
Crypto is King.
OP, please add Cryptsy to the auto sell option of CryptoSwitcher!
newbie
Activity: 6
Merit: 0
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
    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?
legendary
Activity: 882
Merit: 1000
anyone wanna help me get going?  i need to write the first scrypt script
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
Here's my first stab at it...waiting to build up enough coins for it to trigger:

https://github.com/salfter/CryptoSwitcher

PyCryptsy seems to have worked well enough for a couple of YAC-to-BTC exchanges earlier.  Integration was fairly simple; I designed it to work similarly with the Vircurex integration that had been done earlier.

This looks great, and I've merged it into CryptoSwitcher. I've also adjusted the TradeMultiplier to a default of 1.01, given the race-to-the-bottom nature of Cryptsy. To sell your altcoins for the highest price you can right now, return this to 1 in the config file.

Looks like it's trading on Cryptsy...one LTC-to-BTC trade went through; another is pending. 

It would be nice if their API provided a way to cash out your BTC to your wallet. I'd rather keep my coin in a wallet under my control.
full member
Activity: 177
Merit: 100
I have a minimal Python binding up:

https://github.com/salfter/PyCryptsy

I'm now looking into getting CryptoSwitcher to use it.

Here's my first stab at it...waiting to build up enough coins for it to trigger:

https://github.com/salfter/CryptoSwitcher

PyCryptsy seems to have worked well enough for a couple of YAC-to-BTC exchanges earlier.  Integration was fairly simple; I designed it to work similarly with the Vircurex integration that had been done earlier.

This looks great, and I've merged it into CryptoSwitcher. I've also adjusted the TradeMultiplier to a default of 1.01, given the race-to-the-bottom nature of Cryptsy. To sell your altcoins for the highest price you can right now, return this to 1 in the config file.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
I have a minimal Python binding up:

https://github.com/salfter/PyCryptsy

I'm now looking into getting CryptoSwitcher to use it.

Here's my first stab at it...waiting to build up enough coins for it to trigger:

https://github.com/salfter/CryptoSwitcher

PyCryptsy seems to have worked well enough for a couple of YAC-to-BTC exchanges earlier.  Integration was fairly simple; I designed it to work similarly with the Vircurex integration that had been done earlier.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
Looks like Cryptsy's trading API is now documented.  A blob of PHP at the end is provided as an example.

I have a minimal Python binding up:

https://github.com/salfter/PyCryptsy

I'm now looking into getting CryptoSwitcher to use it.
Pages:
Jump to: