aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rw-r--r--test.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..80deb5d
--- /dev/null
+++ b/test.py
@@ -0,0 +1,9 @@
+import requests
+
+url = "https://data.alpaca.markets/v1beta3/crypto/us/quotes?limit=1000&sort=asc"
+
+headers = {"accept": "application/json"}
+
+response = requests.get(url, headers=headers)
+
+print(response.text) \ No newline at end of file