Also curious as to how the software works when mining to a pool such as Ahash. Does AM choose most profitable algo and just points at Ahash? OR does Ahash choose best algo and request it from AM?
Thanks for the info
The way I understand is this, the Yiimp (Ahash,zpool,Hashrefinery predefined, many others not integrated goes through Whattomine to determine profitability if you want to set it up) pools have their own API's, same as MPH who have its own API.
1. AM pulls metrics from these predefined online services API at intervals you set in Options -> Statistics and convert the api's reported BTC/HashRate/Day per Current/24 hour average (depending on your selection) according to Coinbase/Bitstamp (depending on your selection) into basically Fiat/Day (as per your settings in Options -> Coins & Profit -> Currency).
2. Then it list them in the table in the Online Services Tab and displays Revenue/Profit (this is depending on your rig's hashrate, thus important that you benchmark and input the actual hashrate of each rig on their own Profit Profile) there for your reference, it will select the most profit/day for your rig (for how it is determined over each API update interval, right click miner -> View Details -> Profit Switching Tab)
3. From there, AM has all the information it need to determine profit switching, it then decides whether to switch depending on your settings in Options -> Profit Switching (Switching Interval, Switch Threshold), note power cost is taken into consideration and AM determines Profit/Day rather than Revenue/Day where user input in both Power cost AND Profit Profiles are available, thus for best profit guestimation and where power cost plays big factor, it is best you also have them filled in in each rig's Profit Profile.
In short though
-> AM fetches pools profitability API
-> AM choose most profitable with what's fed through API
-> AM point miners at pool's algo deemed most profitable during switching interval
-> Pool chooses coins to mine within that algo
-> pool exchanges rewarded coins mined sometimes later when coins are sold on exchanges (hours, days and even weeks delay)
-> Pool credits your account/wallet for accumulated coins
-> Pool pays to your wallet on their payout schedule provided your have accumulated the minimum payout threshold as defined per pool (MPH can be set to auto-payout or manual payout on demand as opposed to Yiimp pools)