Extract reusable literal keywords once per source revision, assign complete news packages to long-lived events, and research all event members with immutable evidence and references. Add additive research storage, vocabulary snapshots, the two-stage workspace, isolated acceptance coverage, and a paused rollout with an initial fixed 50-news production trial.
46 lines
1.5 KiB
Python
46 lines
1.5 KiB
Python
from alphapulse.models.jin10 import Jin10Connection, Jin10SyncDay
|
|
from alphapulse.models.risk import RiskSettings, RiskEvent, RiskAnalysis, RiskSnapshot
|
|
from alphapulse.core.db import Base
|
|
from alphapulse.models.ai import AiProvider, ChatMessage, ChatSession, ContextVersion, SkillNode, SkillVersion
|
|
from alphapulse.models.calendar import EconomicRelease, EconomicRevision, EconomicSeriesValue
|
|
from alphapulse.models.market import Kline, KlineSyncState, MarketSymbol
|
|
from alphapulse.models.news import CrawlLog, CrawlRun, NewsItem, NewsRevision, RawBody, RawResponse, Source
|
|
from alphapulse.models.trading import NewsSignal, TradingAccount, TradingAnalysis, TradingCredential, TradingEvent, TradingFill, TradingOrder, TradingSymbol
|
|
|
|
__all__ = [
|
|
"Jin10Connection",
|
|
"Jin10SyncDay",
|
|
"RiskSettings", "RiskEvent", "RiskAnalysis", "RiskSnapshot",
|
|
"AiProvider",
|
|
"Base",
|
|
"ChatMessage",
|
|
"ChatSession",
|
|
"ContextVersion",
|
|
"CrawlLog",
|
|
"CrawlRun",
|
|
"EconomicRelease",
|
|
"EconomicRevision",
|
|
"EconomicSeriesValue",
|
|
"Kline",
|
|
"KlineSyncState",
|
|
"MarketSymbol",
|
|
"NewsItem",
|
|
"NewsSignal",
|
|
"NewsRevision",
|
|
"RawBody",
|
|
"RawResponse",
|
|
"SkillNode",
|
|
"SkillVersion",
|
|
"Source",
|
|
"TradingAccount",
|
|
"TradingAnalysis",
|
|
"TradingCredential",
|
|
"TradingEvent",
|
|
"TradingFill",
|
|
"TradingOrder",
|
|
"TradingSymbol",
|
|
]
|
|
|
|
# Register additive news research tables with Alembic metadata.
|
|
from alphapulse.news_research import models as news_research_models # noqa: F401,E402
|