Steem 市场价和喂价过去7天内的变化, 报价取样数据为每小时: ![](https://i.imgur.com/QisjNy0.png) 附上数据采集的python脚本,每小时运行一次脚本,小时数据就会采集到 json文件。 ~~~ def collect_data(): coinmarketcap = Market() cont=Converter(); s = Steem() #get steem feed_price feed_price = s.get_current_median_history_price()['base'] feed_price= float(feed_price.split()[0]) #get steem market_price Steem_market_price_USD= float(coinmarketcap.ticker('steem', convert='USD')[0]['price_usd']) steemit_data_history_hour.update({str(datetime.utcnow())[:-7]:{ 'steem_feed_price':reward_data[0], 'Steem_market_price_USD':Steem_market_price_USD, } }) with open('steemit_data_history_hour.json', 'w') as fp: json.dump(steemit_data_history_hour,fp, indent=4,default=str) ~~~
post_id | 65,601,492 |
---|---|
author | xiguang |
permlink | steem-7-2018-11-06 |
category | cn |
json_metadata | {"tags":["cn",""]} |
created | 2018-11-06 19:55:15 |
last_update | 2018-11-06 19:55:15 |
depth | 0 |
children | 1 |
net_rshares | 415,510,523,348 |
last_payout | 2018-11-13 19:55:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.337 SBD |
curator_payout_value | 0.100 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 910 |
author_reputation | 131,152,863,700,994 |
root_title | "Steem 市场价和喂价过去7天走势比较: 2018-11-06" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
haiyangdeperci | 0 | 6,902,511,260 | 20% | ||
xiaoshancun | 0 | 314,723,864 | 100% | ||
let-it-fly | 0 | 2,750,082,255 | 100% | ||
xiguang | 0 | 404,095,867,740 | 100% | ||
sp-sponge | 0 | 496,553,703 | 100% | ||
ancient-light | 0 | 950,784,526 | 100% |
**This user is on the @buildawhale blacklist for one or more of the following reasons:** * Spam * Plagiarism * Scam or Fraud * Low quality content
post_id | 65,601,506 |
---|---|
author | badcontent |
permlink | re-steem-7-2018-11-06-20181106t195530z |
category | cn |
json_metadata | {"app":"beem\/0.20.9"} |
created | 2018-11-06 19:55:30 |
last_update | 2018-11-06 19:55:30 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-11-13 19:55:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 148 |
author_reputation | 29,587,693,495,256 |
root_title | "Steem 市场价和喂价过去7天走势比较: 2018-11-06" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |