From 113a29d10316c6017e766c50e685a44e468c69b4 Mon Sep 17 00:00:00 2001 From: crazybenzy Date: Fri, 12 Apr 2024 15:45:03 -0400 Subject: [PATCH] testing --- .idea/runConfigurations/tradingbot.xml | 22 ++++++++++ .idea/workspace.xml | 59 ++++++++++++++++++++++++++ tradingbot.py | 4 +- 3 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 .idea/runConfigurations/tradingbot.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/runConfigurations/tradingbot.xml b/.idea/runConfigurations/tradingbot.xml new file mode 100644 index 0000000..c4e96a0 --- /dev/null +++ b/.idea/runConfigurations/tradingbot.xml @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..9fda6ca --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1712946750383 + + + + \ No newline at end of file diff --git a/tradingbot.py b/tradingbot.py index 15573a9..86b5d31 100644 --- a/tradingbot.py +++ b/tradingbot.py @@ -7,8 +7,8 @@ from timedelta import Timedelta from finbert_utils import estimate_sentiment -API_KEY = "YOUR API KEY" -API_SECRET = "YOUR API SECRET" +API_KEY = "PKPJSW1XR30EPYAIBDMN" +API_SECRET = "UISlL47d70PzazqtuM42Zl7oc7Rnz1UJJumn2wuK" BASE_URL = "https://paper-api.alpaca.markets" ALPACA_CREDS = {