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('-->$','(html comment removed: ',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
Thanks for sharing.
Python 2.7 is slowly leaving us.
I hope your code works with +3.6 version
Will try it when I get a moment
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I did not test it with 3.6+
If you tell me what it is result, I would be grateful.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Haaaaarikasin :) bugunde yarinda ihtiyac duyulacak bir program. Ortaya cikan is baya basarili olmus. Aksama
Bi kurcuklayayim :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Teşekkürler.. Şimdilik yeni makina/sunucu işlerine bulaşmak istemediğim için böyle dolambaçlı. Aslında direk steem blok zincirinden bilgi alan bi Chome eklentisi olaydı daha güzel olurdu ;)
Bu arada kendi söylediğim böyle dolambaçlı sözününe de kısmen itiraz edeyim :)
Optimize işini bazen fazla abartıyoruz. Zira bazen Zamanı iyi kullanmak, 2 saniye daha hızlı çalışacak koddan ya da az daha şık görünecek bir butondan, daha önemli olabiliyor. Bu daha iyi versiyonu için işler 2 hafta/ay uzuyor. Oysa çoğu zaman fazladan 2GB RAM + 2 GB SSD maliyeti, Zaman maliyetinden çok çok düşük oluyor.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Projelerin hitap edecegi kitle ile market analizi bu konuda devreye giriyor aslinda. Projenin programlanmaya baslamadan once yatirim degeri ve potansiyeli hesaplanirsa, mesela senin yaptigin api kullanarak fiyat ortaya koyan kisa bir kodlama gibi o zaman bu projenin ustunde gecirecegin 10 hafta sadece zarardir. Gorsel gelistirme veya add on olarakta kodlayabilirsin ancak programin gidecegi noktanin siniri var.
Optimize onemlidir evet ama her proje icin degil. Birseyleri guzel yapalim diye ugrasirken guzel yapman gereken projeye zaman ayiramazsan dunyanin en yetenekli programcisida olsan bir ise yaramaz. Mental tatminiyet muhim ama para kazandirmiyor :) gerek analizlerin gerek olaylara bakis acin enfes.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you so much!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @murattatar I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Come and learn how AI processes images :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I have a bot that working with image recognition.
However, I am already digging sometimes, if I have a time ;)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit