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
[table] | |
DARK_BLACK = 27,29,30 | |
DARK_BLUE = 38,139,210 | |
DARK_GREEN = 130,180,20 | |
DARK_CYAN = 86,194,214 | |
DARK_RED = 249,38,114 | |
DARK_MAGENTA = 140,84,254 | |
DARK_YELLOW = 253,151,31 | |
DARK_WHITE = 204,204,198 | |
BRIGHT_BLACK = 80,83,84 |
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
#!/usr/bin/env python3 | |
""" | |
Python script to download and save all .txt and .dat data for the book | |
Analysis of Financial Time Series (3rd edition) by Ruey S. Tsay | |
""" | |
from requests import get | |
import re | |
from urllib.request import urlretrieve |