Updates to support calculated betas in the fundamental feed.

This commit is contained in:
2025-05-06 19:07:18 -04:00
parent 664a3f3271
commit 59ba764ae2
8 changed files with 259 additions and 128 deletions

Binary file not shown.

View File

@@ -394,6 +394,8 @@ CREATE TABLE Fundamentals
source VARCHAR(15),
next_earnings_date DATE,
beta NUMERIC(19,2),
beta_calc_36 NUMERIC(19,2),
beta_calc_06 NUMERIC(19,2),
low52 NUMERIC(19,2),
high52 NUMERIC(19,2),
volume BIGINT,

View File

@@ -1,7 +1,11 @@
REM I wrote this specifically to dump the entire database including SQL to the backupdb.sql for the purpose
REM of importing it into MariaDb running on the Andrastea machine which is a Pi 4 B.
REM If this works out nicely then I am considering purchasing another Pi 5 16Gig
ECHO STARTING DUMP FOR MARIADB
REM "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqldump" --hex-blob --max_allowed_packet=64M --default-character-set=utf8mb4 --all-databases --user=root --password=dbas --master-data > backupdb.sql
"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqldump" --hex-blob --max_allowed_packet=64M --default-character-set=utf8mb4 --all-databases --user=root --password=dbas --master-data > backupdb.sql
IF EXIST backupdb.sql (
ECHO REMOVING backupdb.sql
DEL backupdb.sql
)
"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqldump" --hex-blob --max_allowed_packet=64M --default-character-set=utf8mb4 --databases market_data portfolio_data user_data --user=root --password=dbas --master-data > backupdb.sql