create account

GPB/USD price in the past 7 days: 2019-10-01 by python-dev

View this thread on: hive.blogpeakd.comecency.com
· @python-dev ·
$0.06
GPB/USD price in the past 7 days: 2019-10-01
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/1jaOEt7.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-10-01
categorypython
json_metadata"{"tags": ["python", "currency"]}"
created2019-10-01 18:40:39
last_update2019-10-01 18:40:39
depth0
children0
last_payout2019-10-08 18:40:39
cashout_time1969-12-31 23:59:59
total_payout_value0.029 HBD
curator_payout_value0.028 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-10-01"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,132,641
net_rshares296,396,774,336
author_curate_reward""
vote details (4)