Thanks GoogleBit,
I'll be posting a new download this weekend to correct the labels on the API tab so they make more sense with Poloniex's API page.
In terms the add x day per x deviations, first I just want to remind everyone that BIP 148, Segwit2X, and the Bitmain plan are all coming together in the last week of July. I highly recommend that no one be lending coins during this period. Poloniex has made very clear that if coins are on loan when a split occurs, the lender will not receive back coins on both chains. I'm planning on working my coins out of lending prior to BIP 148 and Segwit2X activation, just to make sure I have them on hand before any possible splits occur.
That said, the idea of adding duration based on deviations is to attempt to maximize profits by holding the loans longer. Based on observation, there's a sweet spot between the 1st deviation and the 15th in which loans often stay in force for longer periods (that's between, roughly, 0.18% and 0.45% in the current market, but will change as the market rises and falls.) I find with rates over that you may have a loan accepted but it won't necessarily stay in force. My highest loan ever was 1.8%, but I only had it for 6 seconds.
For reference I'm personally adding 2 days per .4 deviations and the current average rate is roughly 0.15%. I usually give loans a maximum duration of 45 days. Right now, due to the situation in the end of July, I'm only lending for 5 days. These settings start adding days while still in the "high average" range.
The theory behind it is fairly simple. Loans that are in the average range are the easiest to get. Therefore it makes sense to keep the duration for those short so you can both get the benefits of compound interest and have a chance at a higher loan. As the rates move higher than average the likely hood of getting that loan rate again at the same time you have funds available for lending is less, so we try to hold those loans longer.
You will not hold all those above average loans, but you will hold some, and they will add to your overall amount earned. There is always a possibility, though, that the market will completely take off and you'll have a situation where higher rates are available and your funds are lent out lower. In practice, though, when the market is really flying and rates are high, traders are changing positions and oftentimes your loans will get closed because the trader that has it is shifting his position to include whatever is new and flying at that moment. I've been running this for a few months now and I have not seen a situation where I thought I missed out on higher rates due to extended loans. In theory it can happen and at some point it may, but I have not seen it yet.
I hope this makes sense

.
Beautyful tool !!!
It did not work with a new generated API key in the first place.
By the way, the app is asking for API/API key instead of API key/secret.
I had to generate another new API key, again without trading and withdrawal, and off he goes :-)
Dev, can you give me a more detailed explanation of " add x day to x deviation ".
Because that looks like the most important part.
Exciting !!!!! :-)