/save_data_for_R_script.py Secret
Last active
September 21, 2023 16:32
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
# Import the data from yahoo finance | |
data = yf.download('AAPL',start='2020-01-01', end='2023-09-15', auto_adjust=True) | |
# Convert the index type to datetime | |
data.index = pd.to_datetime(data.index) | |
# Save the data into an excel file | |
data.to_excel('data_to_estimate_arfima.xlsx') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment