hiveengine/steemengine is using beem for broadcasting transfers and custom_json to the blockchain. hiveengine is only working when using HIVE nodes and steemengine works only when using STEEM nodes. You can check the currently set nodes with
Hive nodes can be set with
beem updatenodes --hive
For using steemengine, the nodes does not need to be changed, as always the steemit node is used.
Both packages can be installed with pip / pip3:
pip install hiveengine
pip install steemengine
After seeing that I had several tokens left in my steem-engine account and as I was to lazy to sell each token one by one, I updated the steemengine command line tool instead.
When a token has aktive bids, selling tokens is now convinient. You can use the
sell command to broadcast a sell order for each of your tokens and use then the
cancel command to cancel all not fullfilled order after a while. Then you can try again with
I ported the changes also to hiveengine package.
The token price is calculated from the highest bid, or when there is currently no bid, from the last price.
Trying with no-broadcast
steemengine -d command
hiveengine -d command
A command can be tested with the
--no-broadcast option. When using this option, broadcasting is disabled and the transaction is just printed to the terminal.
Sell all token
steemengine sell -a account_name
hiveengine sell -a account_name
can now be used to go through all your tokens and sell them. The tool asks for each token if it should be sold, only when entering
y, a sell order is broadcasted.
An account can be set with
Transfering all tokens
steemengine transfer -a from_acc to_acc
hiveengine transfer -a from_acc to_acc
This command allows it to send all tokens to the specified account. You will be asked for each token, if it should be transferred. Only when pressing
y, the token is send.
Staking all tokens
steemengine stake -a account_name
hiveengine stake -a account_name
This helps in staking all token at once. You will be asked if you want to stake the specific token. Only when pressing
y, the token is staked.
Unstaking all tokens
steemengine unstake -a account_name
hiveengine unstake -a account_name
This can be used to unstake all your staked tokens. You will be asked for each token if all staked token should be unstaked. Only when
y is pressed, the token is unstaked.
Show open orders
This command was enhanced so that all open orders for an account can be shown at once.
steemengine sellbook -a account_name
hiveengine sellbook -a account_name
steemengine buybook -a account_name
hiveengine buybook -a account_name
I tried, but I could not sell all my remaining tokens at steem-engine:
Maybe it's time for
steemengine transfer -a holger80 -m bye null
Cancel all open buy / sell orders
steemengine cancel -a account_name buy
hiveengine cancel -a account_name buy
steemengine cancel -a account_name sell
hiveengine cancel -a account_name sell
This cancels all open sell / buy orders at once. It is possible to add
--yes to prevent being asked if the open order should be canceled.
Show the worth of your liquid / staked token in HIVE
hiveengine balance -a account_name
This command exists only for hiveengine. The shown values are calculated by the highest bid or when not existing the latest price.
Let me know if you have ideas for improvements.