It's back online: https://steemchart.net
The site was down for some time, because I was having problems fetching the data. Turns out they fixed the API, so I spent a few days to again fetch the entire history and here we go.
Fetching trades live is easy, but getting the entire history since 2016 takes a long time, because you can only get 100 trades per http call. I'm thinking about releasing the source code but currently it's not in one single piece.
I'm using this python library to interact with Steem: http://steem.readthedocs.io/en/latest/
Hi @jaka, have you thought about how to deal with the irregular peaks in transaction data? For example, when steem price is below 1 SBD, there’re a lot of transactions with price=1 SBD. They’re real transactions caused by rounding. For example, buy 0.001 Steem when market’s best offer is 0.900 SBD / Steem, you will have to pay 0.001 SBD as a result of rounding. (0.001 is the smallest increments of both symbols). I think you can reset each trade price to the market best bid/ask at that moment. The above trade will be recorded as 0.9 in this case.
Yeah I was wondering what these are.. Can you explain in more detail? Why is this 'rounding' happening?
To know exactly why, you’ll have to dig into the detail implementations (the code). From my understanding, it’s because the smallest increments / the non-divisible unit of Steem and SBD are 0.001. In the above example, you can not pay 0.0009 SBD to buy 0.001 steem. There’s no such a thing (smaller than 0.001SBD). If the best bid is 0.8 at the moment, you can not sell 0.002 Steem for 0.002Sbd (because it’s better than current best bid, no way to match it), instead you will be paid 0.001 SBD, resulting a 0.5 trade price. The author could choose not to match these orders, but I guess they choose to match them this way
To test this, send an order to sell 0.001 Steem, you will be receiving 0.001 SBD, since at the moment Steem price is larger than 1 SBD
Finally! That's fantastic!!! Thanks @jaka for building this!
Thanks for your support @jaka, your contribution goes toward a great cause.
If you would like your post resteemed and shared on Twitter
Send 0.25 STEEM/SBD for resteem/tweet. 0.50 STEEM/SBD for an additional 50+ upvotes
Links is unreachable. Can you please check. Use it regularly. Great work!
It's back. The domain expired, so I had to renew.
I'm also planing to shut down my server (I only have two more months of VPS), and with all these expenses I'm not sure if I will still be hosting this.. Not sure what to do, at the moment.
Congratulations @jaka! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of comments
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @jaka! You received a personal award!
Click here to view your Board
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness and get one more award and increased upvotes!
Congratulations @jaka! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!