create account

GPB/USD price in the past 7 days: 2019-05-28 by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.09
GPB/USD price in the past 7 days: 2019-05-28
The British Pound against the US Dollar is one of the oldest currency pairings in the world.

Due to the current Brexit turbulence, the trading opportunity around GBP can be great!

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

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

Currency data were collected using a currency python API with the follinde code:
~~~
from forex_python.converter import CurrencyRates
def collect_currency_data():
    c = CurrencyRates()
    # price_list = c.get_rates('USD')   # you can directly call get_rates('USD')
    GBP_USD = c.get_rate('GBP', 'USD')
    currency_history_hour= json.load(open('currency_history_hour.json'))
    currency_history_hour.update({str(datetime.utcnow())[:-7]:{
                                      'GBP_USD':GBP_USD
                                      }
                                      })
    with open('currency_history_hour.json', 'w') as fp:
        json.dump(currency_history_hour,fp, indent=4,default=str)
~~~
👍  , , ,
properties (23)
authorpython-dev
permlinkgpbusd-price-in-the-past-7-days-2019-05-28
categorypython
json_metadata"{"tags": ["python", "currency"]}"
created2019-05-28 18:40:39
last_update2019-05-28 18:40:39
depth0
children1
last_payout2019-06-04 18:40:39
cashout_time1969-12-31 23:59:59
total_payout_value0.074 HBD
curator_payout_value0.018 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length986
author_reputation5,457,648,648,750
root_title"GPB/USD price in the past 7 days: 2019-05-28"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id85,643,536
net_rshares172,304,797,536
author_curate_reward""
vote details (4)
@ancient-light ·
$0.07
这数据源好像不是很准,看看是不是程序出问题了?
👍  
properties (23)
authorancient-light
permlinkps8id4
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2019-05-28 21:58:15
last_update2019-05-28 21:58:15
depth1
children0
last_payout2019-06-04 21:58:15
cashout_time1969-12-31 23:59:59
total_payout_value0.066 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation55,725,351,787,215
root_title"GPB/USD price in the past 7 days: 2019-05-28"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id85,651,220
net_rshares153,939,958,509
author_curate_reward""
vote details (1)