I know I know it's been a while, I've been so busy with steempress that I don't have time to blog anymore, but I'm still here ! Don't forget to vote for SteemPress as a witness if you haven't already
And I'm maintaining my little side projects. Hence a new update to the steem reward manager ! yeeey
So I focused a bit on multiple account users, with h20 coming I figured it was going to be more and more common to handle multiple accounts and it would be ideal to get all the funds onto the same account.
I'm sorry but this update yet again breaks retro-compatibility and you'll have to update your configuration files. Since there are quite a few new options I'll walk you through each use case with an example config.
The default config would be like this : if your account name was "bob"
"bob" : {
"wif":"activewif", // Your active key
"max_ratio" : 1.3, // Only convert if the steem/SBD ratio is lower or equal to that ratio.
"convert_sbd" : true, // Convert the sbd to STEEM
"liquid_action" : "powerup", // power up the liquid steem on the account
"liquid_to_account" : "bob", // to your account
"reset_power_down" : false // We'll see what this action does later
}
Before you could only power up your liquid STEEM and that was about it, now you can power it up to another account.
This is pretty useful if you have several accounts generating rewards but you want to centralize all the voting power in one place. So let's say I got an account "bob" and I want to power up all my liquid rewards to my main account "alice".
This is now easily done using the convert_to_account option :
"bob" : {
"wif":"activewif", // your active key
"max_ratio" : 1.3, // Only convert if the steem/SBD ratio is lower or equal to that ratio.
"convert_sbd" : true, // Convert the sbd to STEEM
"liquid_action" : "powerup", // power up the liquid steem on the account
"liquid_to_account" : "alice", // All the liquid steem will be powered up on alice's account.
"reset_power_down" : false // We'll see what this action does later
}
This is more or less the same thing, as the power up option except instead of powering it up, you can transfer the liquid STEEM to your savings.
in order to do that you simply edit the liquid_action option and put "put_in_savings" instead of "powerup". Note that the liquid_to_account option still applies and so you can send the liquid STEEM to another account by putting another account there. In the example below we send the liquid STEEM to alice's account.
"bob" : {
"wif":"activewif", // your active key
"max_ratio" : 1.3, // Only convert if the steem/SBD ratio is lower or equal to that ratio.
"convert_sbd" : true, // Convert the sbd to STEEM
"liquid_action" : "powerup", // power up the liquid steem on the account
"liquid_to_account" : "alice", // All the liquid steem will be powered up on alice's account.
"reset_power_down" : false // We'll see what this action does later
}
When you are powering down, you set a certain amount of STEEM to withdraw and each week you get 1/13 of that certain amount right ? But what if you are still active on the account that you are powering down from ? You quickly realize that the amount of STEEM that you started to power down is now incorrect and if you want to correctly power down all of your STEEM you need to reset your power down every week, aka stop the power down, look at how much STEEM you now have and then power down that new amount.
One small example just for clarity's sake :
You have 130 sp and start powering down, that's 10 steem a week.
And by the end of week one you earned 20 sp. so the power down happen and you get 10 steem liquid but since you earned 20 sp your account now has 140 sp and 10 STEEM liquid. Now if you were to continue powering down you would still power down 10 STEEM a week, when you could be powering down (140/13 = 10.769) 10.769 STEEM a week.
Now this doesn't seem much, but you can see at larger scale how this can be a problem when you want to drain one active account to put the STEEM on another account. This is a problem that needs to be automated because unless you are there to stop the power down and restart it with your higher SP the second it happens you will delay the power down.
Because when resetting the power down, you also reset the 7 days clock. So suppose you take 10 hours on average to reset the power down each week, it means you'll be taking 7 days and 10 hours to power down, down the line when you take into account the 13 week time to power down, that's 5.4 days ! Almost an extra week.
So all that context for one tiny option :
reset_power_down
Just set it to true and now whenever a power down happens, the bot will automatically stop it and restart it with updated values.
An example :
"bob" : {
"wif":"activewif", // your active key
"max_ratio" : 1.3, // Only convert if the steem/SBD ratio is lower or equal to that ratio.
"convert_sbd" : true, // Convert the sbd to STEEM
"liquid_action" : "powerup", // power up the liquid steem on the account
"liquid_to_account" : "alice", // All the liquid steem will be powered up on alice's account.
"reset_power_down" : true
}
Take into consideration that the STEEM will then be added to your account and will be affected by the liquid_action option, so if you start to power down with liquid_action set to "powerup" you won't go very far ;).
Just don't put anything into the liquid_action option :
"bob" : {
"wif":"activewif", // your active key
"max_ratio" : 1.3, // Only convert if the steem/SBD ratio is lower or equal to that ratio.
"convert_sbd" : true, // Convert the sbd to STEEM
"liquid_action" : "", // Empty = no action on the liquid steem
"liquid_to_account" : "", // Empty too but it's just good practice, in theory it's optional.
"reset_power_down" : true
}
Thanks for reading. All the sources for these recent patches can be found on the github repo : https://github.com/drov0/Steem-reward-manager
Ps : When re-reading I realize there is a lot of red flags indicating that I will be using this bot to easily power down everything, sell and leave STEEM. Not at all, this is just to help me manage my stake more efficiently between the various accounts I manage :)