Skip to content

Instantly share code, notes, and snippets.

@cameronShadmehry
Created July 1, 2020 04:40
Show Gist options
  • Save cameronShadmehry/25171c3bd7a311a3e57bcd5283d1b90e to your computer and use it in GitHub Desktop.
Save cameronShadmehry/25171c3bd7a311a3e57bcd5283d1b90e to your computer and use it in GitHub Desktop.
Code to select the list of tickers we want to analyze.
# List of the stocks we are interested in analyzing. At the time of writing this, it narrows the list of stocks down to 44. If you have a list of your own you would like to use just create a new list instead of using this, for example: tickers = ["FB", "AMZN", ...]
tickers = gt.get_tickers_filtered(mktcap_min=150000, mktcap_max=10000000)
# Check that the amount of tickers isn't more than 1800
print("The amount of stocks chosen to observe: " + str(len(tickers)))
@johnr1044
Copy link

hope someone finds how to fix this I ran into the same error and using PyCharm was able to import most libraries but wouldn't take all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment