Some checks failed
Deploy to Production / deploy (push) Failing after 6m46s
- KOSPIMarketStateDetector: KOSPI MA 기반 시장 상태 판단 (bull/neutral/bear/crash) - VolumeScreener: 거래대금 2000억+ 스크리닝 (상한가 우선, 희소성 체크, 대형주 예외) - SectorPortfolioManager: 섹터 기반 비중 배분 - KJBScreeningSignalGenerator: 눌림목 진입, 5MA 손절, 단계적 익절 - KISTradeExecutor: KIS API 자동 매수/매도 (기본값 모의투자) - ScreeningSignal / AutoOrder DB 모델 추가 - screening API 엔드포인트 추가 - 스케줄러 잡 3종 추가 (08:30/5분/15:35) - Price.trading_value 컬럼 추가 - MarketIndex 테이블 추가 (KOSPI/KOSDAQ 지수 일봉) - IndexCollector 추가 (일일 수집 잡 등록) - intraday_exit_check 시간 필터 추가 (09:05~15:20 KST) - 드라이런 스크립트 추가 (scripts/screening_dryrun.py)
97 lines
1.8 KiB
Python
97 lines
1.8 KiB
Python
from app.models.user import User
|
|
from app.models.portfolio import (
|
|
Portfolio,
|
|
PortfolioType,
|
|
Target,
|
|
Holding,
|
|
Transaction,
|
|
TransactionType,
|
|
PortfolioSnapshot,
|
|
SnapshotHolding,
|
|
)
|
|
from app.models.stock import (
|
|
Stock,
|
|
StockType,
|
|
Sector,
|
|
Valuation,
|
|
Price,
|
|
Financial,
|
|
ReportType,
|
|
ETF,
|
|
ETFPrice,
|
|
AssetClass,
|
|
JobLog,
|
|
MarketIndex,
|
|
)
|
|
from app.models.signal import Signal, SignalType, SignalStatus
|
|
from app.models.notification import (
|
|
NotificationSetting,
|
|
NotificationHistory,
|
|
ChannelType,
|
|
NotificationStatus,
|
|
)
|
|
from app.models.journal import TradeJournal, TradeType, JournalStatus
|
|
from app.models.pension import (
|
|
PensionAccount,
|
|
PensionHolding,
|
|
AccountType,
|
|
AssetRiskType,
|
|
)
|
|
from app.models.backtest import (
|
|
Backtest,
|
|
BacktestStatus,
|
|
RebalancePeriod,
|
|
BacktestResult,
|
|
BacktestEquityCurve,
|
|
BacktestHolding,
|
|
BacktestTransaction,
|
|
)
|
|
from app.models.screening import ScreeningSignal, AutoOrder
|
|
|
|
__all__ = [
|
|
"User",
|
|
"Portfolio",
|
|
"PortfolioType",
|
|
"Target",
|
|
"Holding",
|
|
"Transaction",
|
|
"TransactionType",
|
|
"PortfolioSnapshot",
|
|
"SnapshotHolding",
|
|
"Stock",
|
|
"StockType",
|
|
"Sector",
|
|
"Valuation",
|
|
"Price",
|
|
"Financial",
|
|
"ReportType",
|
|
"ETF",
|
|
"ETFPrice",
|
|
"AssetClass",
|
|
"JobLog",
|
|
"Backtest",
|
|
"BacktestStatus",
|
|
"RebalancePeriod",
|
|
"BacktestResult",
|
|
"BacktestEquityCurve",
|
|
"BacktestHolding",
|
|
"BacktestTransaction",
|
|
"Signal",
|
|
"SignalType",
|
|
"SignalStatus",
|
|
"NotificationSetting",
|
|
"NotificationHistory",
|
|
"ChannelType",
|
|
"NotificationStatus",
|
|
"TradeJournal",
|
|
"TradeType",
|
|
"JournalStatus",
|
|
"PensionAccount",
|
|
"PensionHolding",
|
|
"AccountType",
|
|
"AssetRiskType",
|
|
"MarketIndex",
|
|
"ScreeningSignal",
|
|
"AutoOrder",
|
|
]
|