-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
30 lines (25 loc) · 851 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from config import key
from api.ExchangeRate import ExchangeRate
from api.MySQL import DB
from model.ExchangeRate import ExchangeRateModel
from model.StockInfo import StockInfoModel
from crawler.StockInfo import StockInfo
## main-------------------------------------------------------------
if __name__ == '__main__':
print("init...")
#! 시세 크롤링 해서 적당한 종목들을 찾음
# import crawling
# import processing
#! 적당한 종목들을 데이터 크롤링 분석해서 점수를 매김
# import analyzing
#! 환율정보
# exchangeRate = ExchangeRate()
# exchangeRate.updateDB()
#! 주식 정보
stockInfo = StockInfo()
stockInfo.updateDB()
#! table 생성
# DB = DB()
# DB.createTable(ExchangeRateModel)
# DB.createTable(StockInfoModel)
# DB.printLog()