Skip to content

Commit

Permalink
[Price Feed] added BTC/CNY market at bitcoin average
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Oct 30, 2015
1 parent 9e6bd3e commit 18badda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pricefeeds/pricefeeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def fetch_from_yahoo():
def fetch_bitcoinaverage():
global price, volume
url="https://api.bitcoinaverage.com/ticker/"
availableAssets = [ "USD", "EUR" ]
availableAssets = [ "USD", "EUR", "CNY" ]
for coin in availableAssets :
response = requests.get(url=url+coin, headers=_request_headers, timeout=3)
result = response.json()
Expand Down

0 comments on commit 18badda

Please sign in to comment.