create account

USD/CNY price in the past 7 days: 2019-06-09 by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.13
USD/CNY price in the past 7 days: 2019-06-09
China is now the second largest economy in the word.

Due to the recenty trade war with US. Chinese economy is expect to have hard landing, and CNY has greate devalue poential.

This daily post is trying to give updates of USD/CNY rate.

![](https://i.imgur.com/jmpm7PG.png)

Currency data were collected using a currency python API with the follinde code:
~~~
def collect_currency_data():
    c = CurrencyRates()
    # price_list = c.get_rates('USD')   # you can directly call get_rates('USD')
    USD_CNY = c.get_rate('USD', 'CNY')
    currency_history_hour= json.load(open('currency_history_hour.json'))
    currency_history_hour.update({str(datetime.utcnow())[:-7]:{
                                      'USD_CNY':USD_CNY
                                      }
                                      })
    with open('currency_history_hour.json', 'w') as fp:
        json.dump(currency_history_hour,fp, indent=4,default=str)

~~~
👍  , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorpython-dev
permlinkusdcny-price-in-the-past-7-days-2019-06-09
categorypython
json_metadata"{"tags": ["python", "currency"]}"
created2019-06-09 19:40:45
last_update2019-06-09 19:40:45
depth0
children1
last_payout2019-06-16 19:40:45
cashout_time1969-12-31 23:59:59
total_payout_value0.108 HBD
curator_payout_value0.026 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length934
author_reputation5,457,648,648,750
root_title"USD/CNY price in the past 7 days: 2019-06-09"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,334,463
net_rshares241,539,456,896
author_curate_reward""
vote details (21)
@steemitboard ·
Congratulations @python-dev! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://steemitimages.com/60x60/https://steemitboard.com/notifications/postallweek.png"></td><td>You published a post every day of the week</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@python-dev) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=python-dev)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-python-dev-20190610t091941000z
categorypython
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-06-10 09:19:39
last_update2019-06-10 09:19:39
depth1
children0
last_payout2019-06-17 09:19:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length861
author_reputation38,975,615,169,260
root_title"USD/CNY price in the past 7 days: 2019-06-09"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,366,869
net_rshares0