apexquant-news-datasources
Official Arithmion news data-source plugins. This is a pip plugin, not a
bundled/built-in datasource — it ships independently of the main Arithmion
app and is discovered at runtime through Arithmion's apexquant.datasources
entry-point group, the same mechanism used by
apexquant-example-datasource.
Providers
Each provider is its own TextSource subclass, registered as its own
apexquant.datasources entry point — no aggregator, no forced bundling.
Consume them individually via make_text_source("<entry point>"), or call
several and combine the results yourself.
| Entry point | Provider | Env var | Notes |
|---|---|---|---|
finnhub_news |
Finnhub | FINNHUB_API_KEY |
Company news, North American coverage, ~1 year of history |
polygon_news |
Polygon.io | POLYGON_API_KEY |
Same env var and auth style as the bundled Polygon OHLCV source — reuses an existing key |
alphavantage_news |
Alpha Vantage | ALPHAVANTAGE_API_KEY |
Also surfaces per-ticker sentiment scores in TextDocument.metadata |
fmp_news |
Financial Modeling Prep | FMP_API_KEY |
Full article body, not just headlines |
tiingo_news |
Tiingo | TIINGO_API_KEY |
Multi-ticker articles fan out to one document per requested, matched symbol |
benzinga_news |
Benzinga | BENZINGA_API_KEY |
Same multi-ticker fan-out behavior as Tiingo |
yfinance_news |
Yahoo! Finance (via yfinance) |
— (keyless) | Requires the [yfinance] extra — see below |
Set only the env vars for the providers you actually use; none are required unless you instantiate that specific provider.
Reference, not derived
This package's provider list and field design took inspiration from how
FinceptTerminal and
OpenBB shape their own news
data — which providers to support, how to normalize fields across them. No
code, package, or runtime dependency from either project is used here.
Both are AGPL-3.0 (FinceptTerminal is additionally dual-licensed, requiring a
paid commercial license for any business use, "paid or free," regardless of
whether the software embedding it is itself open source) — reference-only use
avoids that entirely. The full rationale is recorded as an Architecture
Decision Record in the main Arithmion repository
(docs/adr/0007-新闻插件仅参考-openbb-fincept-不依赖其代码.md).
Install
pip install apexquant-news-datasources
This plugin's only required dependency is
arithmion-core — the published
interface tier of the Arithmion platform (it ships the apexquant import
namespace TextSource/TextDocument/etc. are defined in).
Each provider is BYO-key (bring your own API key) via an environment
variable — no credentials are bundled or proxied. Providers requiring a
heavier optional dependency (e.g. yfinance) ship behind an extra:
pip install "apexquant-news-datasources[yfinance]"
Development
pip install -e ".[test]"
pytest
License
MIT — see LICENSE.
Metadata
Release files for apexquant-news-datasources 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apexquant_news_datasources-0.1.1.tar.gz | 29.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apexquant_news_datasources-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.8 kB
Release files / apexquant_news_datasources-0.1.1.tar.gz
| Download URL | apexquant_news_datasources-0.1.1.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84d888dc2fae9181b5c552ebfdf4a48f8ec17bd9aa045a63ebe7f0ddd094d48d
|
|
BLAKE2b-256 checksum How to use checksums |
19cacef303c7a3af0645ef44e2440b71a04c997e89623c5a55d1053a1725bf9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / apexquant_news_datasources-0.1.1-py3-none-any.whl
| Download URL | apexquant_news_datasources-0.1.1-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
516f731d1f6807788aeb8cd2aa4b157211ea115d7b5b8d34dff715d2dd7ca024
|
|
BLAKE2b-256 checksum How to use checksums |
3654dba29c3c31d10102e4704d32212e79bc8730cc79b464aaf174e9c601cf70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|