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 pandas | |
from ta import trend | |
import investpy | |
from columnar import columnar | |
#Get the historical data from investing.com | |
def get_stock_data(country:str, stock:str, from_date:str, to_date:str): | |
data = investpy.get_stock_historical_data( | |
country=country, | |
stock=stock, |