Skip to content

Instantly share code, notes, and snippets.

@henryrossiter
Last active February 4, 2020 22:59
Show Gist options
  • Save henryrossiter/9901536e81c611f773565660981124c6 to your computer and use it in GitHub Desktop.
Save henryrossiter/9901536e81c611f773565660981124c6 to your computer and use it in GitHub Desktop.
# Fetch a dict of a year of BTC prices
btc_data = getYearHistoricals('BTC')['data_points']
# Tranform price dict to list of low prices
btc_data = [float(point['low_price']) for point in btc_data]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment