This file contains hidden or 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 datetime | |
import pandas as pd | |
import yfinance as yf | |
symbols = pd.read_csv('ftp://ftp.nasdaqtrader.com/symboldirectory/nasdaqtraded.txt', delimiter='|') | |
# Excluded symbols: | |
# - Test symbols | |
# - ETFs | |
# - Financial status: Other than Normal |
This file contains hidden or 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 numpy as np | |
import pandas as pd | |
from struct import unpack, calcsize | |
from collections import namedtuple | |
def parse_scid_file(filename): | |
SIERRA_CHART_EPOCH = pd.to_datetime('1899-12-30') |
OlderNewer