Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_current_median_history_price reports incorrect price for STEEM #273

Open
ArtoLabs opened this issue Nov 30, 2018 · 2 comments
Open

get_current_median_history_price reports incorrect price for STEEM #273

ArtoLabs opened this issue Nov 30, 2018 · 2 comments

Comments

@ArtoLabs
Copy link

Version of Python you are running

3.5

Version of steem-python you are running

1.1

Expected Behavior

Normal Steem Price

Actual Behavior

get_current_median_history_price()["base"] produces incorrect value as seen by the abnormally large values in Steemit wallets over Thanksgiving weekend.

Steps to reproduce

from steem import Steem
s = Steem()
s.get_current_median_history_price()

result:

{'quote': '285941570.493 STEEM', 'base': '116876226.762 SBD'}

Stack Trace

@circa-sys
Copy link

Glad I'm not the only one. This is a pretty huge bug and detracts greatly from functionality.

@SeYoungKim
Copy link

SeYoungKim commented Jan 30, 2019

Version of Python you are running

3.6

Version of steem-python you are running

1.0.1

Expected Behavior

Normal Steem Price

Actual Behavior

I also got a weird value...

s.get_current_median_history_price() {'base': '94369060.638 SBD', 'quote': '297234976.988 STEEM'}

Steps to reproduce

from steem import Steem

s = Steem()
print(s.get_current_median_history_price(), s.get_current_median_history_price()["base"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants