Last active
February 4, 2020 22:59
-
-
Save henryrossiter/9901536e81c611f773565660981124c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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