steem-python icon indicating copy to clipboard operation
steem-python copied to clipboard

get_current_median_history_price reports incorrect price for STEEM

Open ArtoLabs opened this issue 7 years ago • 2 comments

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

ArtoLabs avatar Nov 30 '18 12:11 ArtoLabs

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

circa-sys avatar Dec 26 '18 17:12 circa-sys

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"])

SeYoungKim avatar Jan 30 '19 05:01 SeYoungKim