Scripts for Steem Bot Delegators Part 2

in #steemit7 years ago

In last post https://steemit.com/steemit/@jaka87/scripts-for-steem-bot-delegators-part-1 I showed script which trades SBD that you receive as reward for delegating to Steemit bot.
programming.jpg
The next logical step is to power up this newly exchanged Steem and today I will show a script which does just that. Just like last time this one is written in Python aswell and needs Steem package for Python in order to run. This one is pretty straight forward and less complicated so I probably don't have to explain it. In case you need some help don't hesitate to ask .

from steem import Steem
from steem.commit import Commit
from steem.account import Account

s = Steem(keys=["YOUR WIF"])
username = 'YOUR USERNAME'
s = Steem()
account = Account(username,s)
balance = account.balances
my_steem= balance['available']['STEEM']
c= Commit(s)

return = c.transfer_to_vesting(amount=my_steem, to=username, account=username)
print(return)

I offcoarse don't run this manually but as a cron job once a day. In next post I will show a script which then delegates this new SP back to the bot so our future gains will be greater.

Sort:  

You got a 2.63% upvote from @postpromoter courtesy of @jaka87! Want to promote your posts too? Check out the Steem Bot Tracker website for more info. If you would like to support development of @postpromoter and the bot tracker please vote for @yabapmatt for witness!

You got a 2.02% upvote from @upme requested by: @jaka87.
Send at least 2.5 SBD to @upme with a post link in the memo field to receive upvote next round.
To support our activity, please vote for my master @suggeelson, as a STEEM Witness

Bok @jaka87 pridruži nam se na novo podignutom Balkan Steemit Alliance discord serveru za balkanske Steemit korisnike detaljnije o ideji možeš pročitati u linku ispod

https://steemit.com/steemit/@ivan.atman/official-balkan-discord-server-is-up-and-balkan-steemit-alliance-is-up-steemit-balkan-savez-sbs

(server je tek podignut i možda budeš među prvima na praznom serveru, međutim svi su obaviješteni te će stići uskoro)

Bok @jaka87 pridruži nam se na novo podignutom Balkan Steemit Alliance discord serveru za balkanske Steemit korisnike detaljnije o ideji možeš pročitati u linku ispod

https://steemit.com/steemit/@ivan.atman/official-balkan-discord-server-is-up-and-balkan-steemit-alliance-is-up-steemit-balkan-savez-sbs

(server je tek podignut i možda budeš među prvima na praznom serveru, međutim svi su obaviješteni te će stići uskoro)

Congratulations @jaka87! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout
Award for the total payout received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Congratulations @jaka87! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!