diff options
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,9 +1,17 @@ import requests +from api import fetch_chart_data_backtest -url = "https://data.alpaca.markets/v1beta3/crypto/us/quotes?limit=1000&sort=asc" +# params = { +# 'symbols' : 'BTC-USD', +# 'timeframe' : '1Min', +# 'start' : period1, +# 'end' : period2, +# 'limit': 10000, +# 'sort' : 'asc', +# } -headers = {"accept": "application/json"} +# headers = {"accept": "application/json"} -response = requests.get(url, headers=headers) +# url = "https://data.alpaca.markets/v1beta3/crypto/us/quotes" -print(response.text)
\ No newline at end of file +fetch_chart_data_backtest()
\ No newline at end of file |