Skip to content

Commit e3d53e0

Browse files
feat add static data
1 parent cc33ccc commit e3d53e0

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
.env/
1+
.env/
2+
.DS_Store
3+
/src/app/static/images/
4+
/src/app/static/data/
5+
/src/app/static/picture/

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ scikit-learn
88
bs4
99
beautifulsoup4
1010
matplotlib
11-
sqlalchemy
11+
sqlalchemy
12+
flask
13+
openpyxl
0 Bytes
Binary file not shown.
17 Bytes
Binary file not shown.

src/app/static/picture/data_j.xls

-753 KB
Binary file not shown.

src/app/usstock.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@
1212
class StockUSStock:
1313

1414
def __init__(self,ticker) -> None:
15-
self.ticker = ticker
15+
self.ticker = ticker
16+
self.root = "../static/"
17+
self.terms = 10
18+
self.stock_data = []
19+
20+

0 commit comments

Comments
 (0)