프로젝트
GitHub에서 보기
hackingthemarkets/stockscreener
소개
Build a Stock Screener using FastAPI (Python)
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDidn't see a lot of examples out there for this framework, so decided to create one.
Step 1: Hello World of FastAPI, Stub out the API endpoints
- Display Hello World
- Map out endpoints we will need, comment what they will do
Step 2: Mock the UI with Semantic UI and Jinja2 Templates
- Including CSS and JavaScript from the CDN
Step 3: Database Design
- To design our database, we create SQLAlchemy models
- See what yfinance provides
- forwardPE, forwardEps, dividendYield, 50 Day, 200 Day, Close
- SQLAlchemy create_all
Step 4: Add a stock endpoint
- Background task to fetch info and add to db also
- Use Insomnia to test it
Step 5: Wire home screen
- Show added stocks in a table
Step 6: Filters to filter table
- Filter boxes on UI
- Use SQLALchemy to filter in db
- Use query parameters to filter
Step 7: Modal to add stock tickers via UI
관련 프로젝트 살펴보기
불러오는 중…