You can limit the software to work only if the payment is good enough.
By clicking the button "Configure" in NiceHash Miner, you will find the "Minimum income" field. By setting this number, NiceHash Miner will run only when the minimum income is guaranteed.
You can still leave NiceHash as your primary stratum server in other software. NiceHash stratum server will only be activated if the current average payment as displayed on NiceHash.com front page matches your price threshold. Otherwise, miners will work normally on your backup/secondary pool.
Connect your miner to NiceHash and use password p=price instead of x.
Your miner will get disconnected from the NiceHash stratum if the current average payment is lower than your threshold. Miners will automatically reconnect to NiceHash stratum again when the current average payment matches your price threshold.
The unit for the p= price parameter is according to the paying rate units, as shown on the home page.
sgminer -o stratum+tcp://scrypt.eu.nicehash.com:3333 -u YOUR_BITCOIN_ADDRESS -p p=4.0 ...
"pools" : [
"url" : "stratum+tcp://scrypt.eu.nicehash.com:3333",
"user" : "YOUR_BITCOIN_ADDRESS",
"pass" : "p=4.0"
"url" : "[your backup pool]",
"user" : "[some username]",
"pass" : "x"
In this example, your miner will be disconnected from NiceHash stratum and continue to work on your backup pools, if the current average payment is lower than 4 BTC/GH/Day. The miner will automatically reconnect to NiceHash stratum again when the current average payment is at least 4 BTC/GH/Day.
Tip: keep in mind the unit calculations:
BTC/GH/Day = BTC/1000*MH/Day
BTC/TH/Day = BTC/1000*GH/Day
Note: It does not matter what kind of orders there are, as long as there are orders. Your miner doesn't get paid for order it works on, but weighted average price - all miners are paid at the same rate. And you can view that rate here under the column Paying.