Created
November 5, 2021 09:07
-
-
Save dkav6/b5783e6344a00c05eb2fac6f45a6918b 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
def get_data(pair): | |
ticker = Ticker(pair) | |
df = ticker.history(period='3y', rounding=True)[['Open','High','Low','Close']] | |
return df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment