As you know, SBD and STEEM prices are very volatile in recent days. With Ömer Atagün's suggestion, I made a tool which calculates your Steemit account's total SBD and STEEM value in USD according to BitTrex prices. (via CoinMarketCap without API)
It create result html file like this demo
GitHub: https://github.com/murattatar/SbdSteemUSD
SBDs and STEEMs total value in USD
You can easily to see your SBDs and STEEMs total value in USD
Setup
- Download Pyhton 2.7 https://www.python.org/downloads/
- pip install os
- pip install requests
- pip install re
Using
- Open SbdSteemUsd.py with python IDE
- Press F5
- Input your Steemit user name
- ta ta.. ;)
Finding "SBDs" and "STEEMs" that your account has
## Steemit Wallet #########################################url = "https://steemit.com/@"+username+"/transfers"
bring = requests.get(url)
arrival = bring.contentsbd1 = Between('STEEM DOLLARS','UserWallet',arrival)
sbd = Between('-->$','<!--',sbd1)steem1 = Between('can be converted to','UserWallet',arrival);
steem = Between('-->',' STEEM<!',steem1)sbd = float(sbd)
steem = float(steem)print steem
print sbd
Finding "SBDs" and "STEEMs" price on BitTrex
## BitTrex SBD / Steem #########################################url = "https://coinmarketcap.com/currencies/steem/#markets"
bring = requests.get(url)
arrival = bring.contentbitSteem1 = Between('Bittrex','Recently',arrival);
bitSteem2 = Between('price','',bitSteem1);
bitSteem = Between('$','',bitSteem2)url = "https://coinmarketcap.com/currencies/steem-dollars/#markets"
bring = requests.get(url)
arrival = bring.contentbitSbd1 = Between('Bittrex','Recently',arrival);
bitSbd2 = Between('price','',bitSbd1)
bitSbd = Between('$','',bitSbd2)bitSbd = float(bitSbd)
bitSteem = float(bitSteem)print bitSbd
print bitSteem
If you want ,you can play with Circle:
size = 120 fcnum = 180
or Sliding:
sli = unicode(str(60+2)) bsli_x = unicode(str(size / 1.2)) bsli_y = unicode(str(size / 4.0))
Actually, a browser plug-in would be nice;) But unfortunately, I do not have time to deal with the server right now. Maybe someone else can do it, inspired by this. Because;
It's open source!
Posted on Utopian.io - Rewarding Open Source Contributors