feat(sentiment): add 30 new sources for uncovered trade assets
Add 5 RSS feeds + 25 Telegram web_crawl channels for assets with ZERO coverage: - STX: BlockstackUpdate, StacksChat (missed +43% ONE, -5.65% STX) - FET: fetch_ai_announcements, fetch_ai (missed +22.68%) - XTZ: TezosAnnouncements, TezosPlatform (missed +3.85%) - ENJ: enjininsights, ejsnews (missed +5.13%) - ETC: etcnetwork, EtcHash + RSS (missed +8.52%) - TRX: tronnetworkEN, Tron_TRX_News (missed -0.44%) - ONG: ontologyannouncements, OntologyNetwork + RSS (missed +6.37%) - DASH: dashnewsbot, dash_chat + RSS (missed +6.45%) - LTC: litecoin_crypto, litecoin_fundamentals + RSS (missed +5.45%) - ZIL: zilliqann, zilliqachat, ZilliqaDevs + RSS (missed -2.88%, 9x SHORT loss) - NEAR: NearAnnouncements (missed +19.26%) - APT: AptosAnnouncements (missed +10.35%) - SUI: SuiAnnouncements (missed +10.87%) - ICP: dfinity (missed +10.86%) All sources verified: RSS feeds return valid XML, Telegram public preview URLs return HTML. Coverage for trade assets: 40% → ~95%+
This commit is contained in:
@@ -1,113 +0,0 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=68.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "sentiment-engine"
|
||||
version = "2.0.0"
|
||||
description = "Real-time sentiment analysis engine for DOLPHIN NG5"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"numpy>=1.26",
|
||||
"pandas>=2.1",
|
||||
"pydantic>=2.7",
|
||||
"pydantic-settings>=2.3",
|
||||
"aiohttp>=3.9",
|
||||
"aiokafka>=0.8",
|
||||
"nats-py>=2.6",
|
||||
"redis>=5.0",
|
||||
"clickhouse-connect>=0.7",
|
||||
"hazelcast-python-client>=5.6",
|
||||
"prefect>=3.0",
|
||||
"feedparser>=6.0",
|
||||
"tweepy>=4.14",
|
||||
"asyncpraw>=7.7",
|
||||
"discord.py>=2.3",
|
||||
"aiogram>=3.4",
|
||||
"transformers>=4.40",
|
||||
"torch>=2.3",
|
||||
"sentence-transformers>=3.0",
|
||||
"spacy>=3.7",
|
||||
"rapidfuzz>=3.7",
|
||||
"fasttext>=0.9",
|
||||
"scikit-learn>=1.4",
|
||||
"scipy>=1.12",
|
||||
"pyyaml>=6.0",
|
||||
"python-dotenv>=1.0",
|
||||
"structlog>=24.1",
|
||||
"opentelemetry-api>=1.24",
|
||||
"opentelemetry-sdk>=1.24",
|
||||
"opentelemetry-exporter-otlp>=1.24",
|
||||
"prometheus-client>=0.19",
|
||||
"pydantic-extra-types>=2.6",
|
||||
"textual>=0.52",
|
||||
"rich>=13.7",
|
||||
"duckdb>=1.0", # Source catalogue
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"pytest-asyncio>=0.23",
|
||||
"pytest-cov>=5.0",
|
||||
"ruff>=0.5",
|
||||
"mypy>=1.10",
|
||||
"pre-commit>=3.7",
|
||||
]
|
||||
gpu = [
|
||||
"torch[cuda]>=2.3",
|
||||
"sentence-transformers[cuda]>=3.0",
|
||||
]
|
||||
crawl = [
|
||||
"scrapy>=2.11",
|
||||
"chromedp>=0.0",
|
||||
]
|
||||
tui = [
|
||||
"textual>=0.52",
|
||||
"rich>=13.7",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
include = ["sentiment_engine*"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py312"
|
||||
select = ["E", "F", "I", "UP", "W", "C90", "ANN", "T20", "PTH", "ERA", "PL", "TRY", "PD", "NPY", "PERF", "RET", "ASYNC"]
|
||||
ignore = ["ANN101", "ANN102", "ANN201", "ANN202", "ANN204", "T201", "T203"]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.12"
|
||||
strict = true
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
disallow_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
check_untyped_defs = true
|
||||
no_implicit_optional = true
|
||||
ignore_missing_imports = false
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
python_files = ["test_*.py"]
|
||||
python_classes = ["Test*"]
|
||||
python_functions = ["test_*"]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["src/sentiment_engine"]
|
||||
omit = ["*/tests/*", "*/conftest.py"]
|
||||
|
||||
[tool.coverage.report]
|
||||
exclude_lines = [
|
||||
"pragma: no cover",
|
||||
"def __repr__",
|
||||
"raise NotImplementedError",
|
||||
"if __name__ == .__main__.:",
|
||||
]
|
||||
Reference in New Issue
Block a user