create account

USD/CNY price in the past 7 days: 2018-12-30 by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.28
USD/CNY price in the past 7 days: 2018-12-30
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/pR3m4aQ.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-2018-12-30
categorypython
json_metadata"{"tags": ["python", "currency"]}"
created2018-12-30 19:40:42
last_update2018-12-30 19:40:42
depth0
children1
last_payout2019-01-06 19:40:42
cashout_time1969-12-31 23:59:59
total_payout_value0.216 HBD
curator_payout_value0.065 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: 2018-12-30"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id77,620,978
net_rshares512,224,031,539
author_curate_reward""
vote details (63)
@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>https://steemitimages.com/60x60/http://steemitboard.com/notifications/postallweek.png</td><td>You published a post every day of the week</td></tr>
</table>

<sub>_[Click here to view your Board](https://steemitboard.com/@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!


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/christmas/@steemitboard/christmas-challenge-send-a-gift-to-to-your-friends-the-party-continues"><img src="https://steemitimages.com/64x128/http://i.cubeupload.com/kf4SJb.png"></a></td><td><a href="https://steemit.com/christmas/@steemitboard/christmas-challenge-send-a-gift-to-to-your-friends-the-party-continues">Christmas Challenge - The party continues</a></td></tr></table>

> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-python-dev-20181231t085453000z
categorypython
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-12-31 08:54:51
last_update2018-12-31 08:54:51
depth1
children0
last_payout2019-01-07 08:54:51
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_length1,236
author_reputation38,975,615,169,260
root_title"USD/CNY price in the past 7 days: 2018-12-30"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id77,649,946
net_rshares0