added first test code, .gitignore Pipfile, etc.
This commit is contained in:
14
main.py
Normal file
14
main.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import yfinance as yf
|
||||
from get_all_tickers.get_tickers import get_tickers
|
||||
|
||||
|
||||
def main():
|
||||
all_tickers = get_tickers()
|
||||
print(all_tickers)
|
||||
|
||||
data = yf.download(tickers="SPL AAPL", start="2017-01-01", end="2017-04-30", interval="60m", )
|
||||
print(data)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user