from data_fetcher import DataFetcher
from config import Config

class TurtleTrading:
    def __init__(self, symbol):
        self.symbol = symbol
        self.config = Config(self.symbol)
        self.data_fetcher = DataFetcher(self.config)

    def run(self):
        stock_data = self.data_fetcher.fetch_stock_data()
        if stock_data is not None:
            print(f"Fetched stock data for {self.symbol}:")
            print(stock_data)
        else:
            print(f"Failed to fetch stock data for {self.symbol}.")