import requests from api import fetch_chart_data_backtest # params = { # 'symbols' : 'BTC-USD', # 'timeframe' : '1Min', # 'start' : period1, # 'end' : period2, # 'limit': 10000, # 'sort' : 'asc', # } # headers = {"accept": "application/json"} # url = "https://data.alpaca.markets/v1beta3/crypto/us/quotes" fetch_chart_data_backtest()