S
stefanprodan/1ctx-markets
A self-hosted market data server for AI agents
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
- Star count
- 2 ★ · stefanprodan/1ctx-markets · read from the GitHub search API · (checked 2026-11-13 20:00:50)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-11-08 · last seen 2026-11-14 · seen 7× · listed by 2 sources
- Score
- score 203 · 2 ★ · 2 sources · repo
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
stefanprodan/1ctx-markets;first catalogued 2026-11-08;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.# 1ctx-markets
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A self-hosted market data server for AI agents.
It collects quotes, price history, research and news from free sources
and computes technical signals. Agents query it over
MCP, scripts over a REST API.
You can also track price alerts and portfolios, so agents know what you
hold.
It works with anything Yahoo Finance lists: shares, ETFs, indices,
futures, currencies and crypto, on any exchange. There is no ticker
list to maintain; a symbol is fetched the first time an agent asks for
it.
## Features
Quotes and signals: live prices, daily and weekly history,
moving averages, RSI, MACD, ATR, drawdown and crossings.
Research: fundamentals, analysts, earnings, insider activity,
SEC filings, news sentiment, ETF holdings, economic series and
futures positioning.
Price alerts: conditions like rsi14 sma200,
with a feed a scheduled job can poll.
Portfolios: trades, cash, bonds and funds by broker, valued live
in any currency.
Notes for agents: your investor profile, trade plans and dated
analyses per symbol, written in Markdown.
A web UI to browse all of the above and manage agent keys.
Self-hosted: one binary and one SQLite file.
## Data sources
All free. The keyed ones turn on when their key file is present:
| Source | Adds |
| Yahoo Finance | quotes, history, ETF holdings (always on) |
| CFTC | futures positioning (always on) |
| Finnhub | US shares: fundamentals, analysts, earnings, insiders |
| Massive | US shares and ETFs: news with sentiment |
| FRED | economic series such as Treasury yields |
| SEC EDGAR | US filings (the key file holds a name and email, not a key) |
| Bucharest Stock Exchange | local shares, funds and bonds (--source bvb) |
## Quick start
Download a binary for Linux (amd64, arm64) or macOS (Apple silicon)
from Releases,
or build it with Bun at the version in
.bun-version:
sh
git clone https://github.com/stefanprodan/1ctx-markets.git
cd 1ctx-markets
bun install --frozen-lockfile --ignore-scripts
make build
./bin/1ctx-markets
The server listens on 127.0.0.1:11238 and keeps its data in
~/.1ctx-markets. The first start writes an admin key to
~/.1ctx-markets/secrets/user-admin.key; use it to sign in to the web
UI and to connect agents. --help lists the options.
To add a source, put its key in a file and restart:
sh
printf '%s' ' ' > ~/.1ctx-markets/secrets/source-finnhub.key # or source-massive, source-fred
printf '%s' 'Your Name you@example.com' > ~/.1ctx-markets/secrets/source-edgar.key
chmod 600 ~/.1ctx-markets/secrets/.key
On macOS, ./bin/1ctx-markets service install runs it as a login
service.
The server speaks plain HTTP: keep it on loopback, a private network
such as Tailscale, or behind a TLS proxy.
### With Docker
From a clone of this repository, write the admin key, and the key of
any source you want, before the first start:
sh
cd deploy/docker
mkdir -p secrets
openssl rand -hex 32 > secrets/user-admin.key
printf '%s' ' ' > secrets/source-finnhub.key # optional, as above
chmod 644 secrets/.key
The container reads secrets/ read-only, so it cannot write a key of
It collects quotes, price history, research and news from free sources
and computes technical signals. Agents query it over
MCP, scripts over a REST API.
You can also track price alerts and portfolios, so agents know what you
hold.
It works with anything Yahoo Finance lists: shares, ETFs, indices,
futures, currencies and crypto, on any exchange. There is no ticker
list to maintain; a symbol is fetched the first time an agent asks for
it.
## Features
Quotes and signals: live prices, daily and weekly history,
moving averages, RSI, MACD, ATR, drawdown and crossings.
Research: fundamentals, analysts, earnings, insider activity,
SEC filings, news sentiment, ETF holdings, economic series and
futures positioning.
Price alerts: conditions like rsi14 sma200,
with a feed a scheduled job can poll.
Portfolios: trades, cash, bonds and funds by broker, valued live
in any currency.
Notes for agents: your investor profile, trade plans and dated
analyses per symbol, written in Markdown.
A web UI to browse all of the above and manage agent keys.
Self-hosted: one binary and one SQLite file.
## Data sources
All free. The keyed ones turn on when their key file is present:
| Source | Adds |
| Yahoo Finance | quotes, history, ETF holdings (always on) |
| CFTC | futures positioning (always on) |
| Finnhub | US shares: fundamentals, analysts, earnings, insiders |
| Massive | US shares and ETFs: news with sentiment |
| FRED | economic series such as Treasury yields |
| SEC EDGAR | US filings (the key file holds a name and email, not a key) |
| Bucharest Stock Exchange | local shares, funds and bonds (--source bvb) |
## Quick start
Download a binary for Linux (amd64, arm64) or macOS (Apple silicon)
from Releases,
or build it with Bun at the version in
.bun-version:
sh
git clone https://github.com/stefanprodan/1ctx-markets.git
cd 1ctx-markets
bun install --frozen-lockfile --ignore-scripts
make build
./bin/1ctx-markets
The server listens on 127.0.0.1:11238 and keeps its data in
~/.1ctx-markets. The first start writes an admin key to
~/.1ctx-markets/secrets/user-admin.key; use it to sign in to the web
UI and to connect agents. --help lists the options.
To add a source, put its key in a file and restart:
sh
printf '%s' ' ' > ~/.1ctx-markets/secrets/source-finnhub.key # or source-massive, source-fred
printf '%s' 'Your Name you@example.com' > ~/.1ctx-markets/secrets/source-edgar.key
chmod 600 ~/.1ctx-markets/secrets/.key
On macOS, ./bin/1ctx-markets service install runs it as a login
service.
The server speaks plain HTTP: keep it on loopback, a private network
such as Tailscale, or behind a TLS proxy.
### With Docker
From a clone of this repository, write the admin key, and the key of
any source you want, before the first start:
sh
cd deploy/docker
mkdir -p secrets
openssl rand -hex 32 > secrets/user-admin.key
printf '%s' ' ' > secrets/source-finnhub.key # optional, as above
chmod 644 secrets/.key
The container reads secrets/ read-only, so it cannot write a key of
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/stefanprodan-1ctx-markets/)
- Source
- github · https://github.com/stefanprodan/1ctx-markets
- Browse by field
- Open source
- Traction
- 2 ★
- Listed by
- 2 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.