create account

GPB/USD price in the past 7 days: 2019-09-24 by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.06
GPB/USD price in the past 7 days: 2019-09-24
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/UvtXhH5.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-09-24
categorypython
json_metadata"{"tags": ["python", "currency"]}"
created2019-09-24 18:40:36
last_update2019-09-24 18:40:36
depth0
children0
last_payout2019-10-01 18:40:36
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.029 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-09-24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,902,886
net_rshares292,691,665,146
author_curate_reward""
vote details (3)