Multialgo
If you are using a Baikal device here's how you can achieve automatic switching to the best algo.
DO NOT use this type of configuration if you are not using a Baikal device.
Use the password parameter to define a set of algos you want to mine. Your miner connection will close (and move to your next configured algo) if the algo is not the best profitable of your set.
-p x11,neoscrypt,lyra2v2
The difficulty parameter can be combined with algos.
-p d=64,x11,decred
Or with any other.
-p rig1,x11,decred
Note that the password parameter must be all together, that is no spaces.
To complete you setup, you will need to configure your miner to round robin through all algos.
Here is an example of a windows batch file for ccminer but note, there is no profitability factoring set in this example.
:start
ccminer -r 0 -a x11 -o stratum+tcp://x11.mine.zpool.ca:3533 -u joe -p x11,x13,x14,x15,quark,lyra2
ccminer -r 0 -a x13 -o stratum+tcp://x13.mine.zpool.ca:3633 -u joe -p x11,x13,x14,x15,quark,lyra2
ccminer -r 0 -a x15 -o stratum+tcp://x15.mine.zpool.ca:3733 -u joe -p x11,x13,x14,x15,quark,lyra2
ccminer -r 0 -a lyra2 -o stratum+tcp://lyra2v2.mine.zpool.ca:4433 -u joe -p x11,x13,x14,x15,quark,lyra2
ccminer -r 0 -a quark -o stratum+tcp://quark.mine.zpool.ca:4033 -u joe -p x11,x13,x14,x15,quark,lyra2
sleep 5000
goto start
By default, ALL algos are set to a factor of 1. You must set your own factors based off the rig you are mining with.
To specify your own profitability factors for each algo, add the values in the password field like so:
-p x11=5.1,neoscrypt=0.5,lyra2=2