-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3464d54
commit a7e6d8c
Showing
5 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
pandas==1.3.3 | ||
scikit-learn==0.24.2 | ||
openai==0.10.5 | ||
yfinance==0.1.64 | ||
textblob==0.15.3 | ||
pandas==1.5.0 | ||
scikit-learn==1.4.0 | ||
openai==0.27.1 | ||
yfinance==0.1.91 | ||
textblob==0.17.3 | ||
requests==2.30.1 | ||
newsapi==1.0.0 | ||
python-dotenv==0.20.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import subprocess | ||
|
||
def run_script(script_path): | ||
subprocess.run(["python", script_path]) | ||
|
||
if __name__ == "__main__": | ||
# Run fetch_historical_data.py and multiple_ticker_sent.py | ||
run_script("src/fetch_historical_data.py") | ||
run_script("src/multiple_ticker_sent.py") | ||
|
||
# Run avg.py located in the data folder | ||
run_script("data/avg.py") | ||
|
||
# Run combined_data.py | ||
run_script("data/combined_data.py") | ||
|
||
# Run seperate_tickers.py | ||
run_script("data/seperate_tickers.py") | ||
|
||
# Run gpt.py | ||
run_script("src/gpt.py") |