-
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.
Refactor config file structure and processing pipeline. Lint changes
- Loading branch information
Francisco Silva
committed
Nov 15, 2024
1 parent
feee80f
commit 97e2285
Showing
27 changed files
with
694 additions
and
607 deletions.
There are no files selected for viewing
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
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
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,3 +1,5 @@ | ||
from config.definitions import ROOT_PATH, get_config | ||
from config.manager import ConfigManager | ||
|
||
__all__ = ["ROOT_PATH", "get_config"] | ||
config = ConfigManager() | ||
|
||
__all__ = ["ROOT_PATH", "config"] |
2 changes: 1 addition & 1 deletion
2
stocksense/config/db_config.yml → stocksense/config/defaults/db_config.yml
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,4 +1,4 @@ | ||
'schema': | ||
'db_schema': | ||
'stock': | ||
- 'tic' | ||
- 'name' | ||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
'two_week_trading_days': 10 | ||
'month_trading_days': 21 | ||
'quarter_trading_days': 61 | ||
'semester_trading_days': 126 | ||
'year_trading_days': 252 | ||
'two_year_trading_days': 504 | ||
'prediction_horizon': 4 | ||
'over_performance_threshold': 0.1 | ||
'performance_threshold': 0.4 | ||
'sectors': | ||
- 'Health Care' | ||
- 'Financials' | ||
- 'Industrials' | ||
- 'Consumer Discretionary' | ||
- 'Information Technology' | ||
- 'Communication Services' | ||
- 'Consumer Staples' | ||
- 'Utilities' | ||
- 'Real Estate' | ||
- 'Materials' | ||
- 'Energy' |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.