Public documentation for the OHLCX trading platform. Application and package source code is private; this repository is the open developer entry point.
Live site: https://docs.ohlcx.com/
OHLCX is a Laravel + React trading platform: Schwab brokerage integration, unified dashboard, strategies and signals, realtime messaging, credits billing, market data, news, and technical analysis. Optional in-app AI assistants and an MCP server (80+ tools) support developers and power users.
| Edition | Repository | Description |
|---|---|---|
| Pro | ohlcx/ohlcx (private) | Full stack: local domain packages (strategies, sectors, pricefeed, news, analysis, …) |
| Light | ohlcx/ohlcx-light (private) | Slimmer app; sectors and some domain data via hosted OHLCX API |
| Topic | Start here |
|---|---|
| Getting started | Overview · Requirements · Contributor access |
| Setup | OHLCX Pro · OHLCX Light · trading-app install |
| Architecture | Overview · Apps & packages · Light vs Pro · Data sources |
| API | Reference · OpenAPI |
| AI | Overview · In-app assistant · Agents · Cursor & Boost · Testing |
| MCP | Overview · Cursor setup · Tool catalog |
| Packages | Ecosystem map |
- In-app agents: Support, Trading, and unified Assistant modes over SSE (
POST /api/ai/agents/*). - OHLCX MCP server: Web (
/mcp/ohlcx) and stdio (php artisan mcp:start ohlcx) with strategies, markets, KB, messaging, billing, and admin tools. - IDE integration: Cursor + Laravel Boost; see Cursor & Boost.
- Documentation: public (this repo).
- Source: private GitHub repos under github.com/ohlcx. Install via Composer VCS with an authorized GitHub token. See Contributor access.
- Product: ohlcx.com
- Docs repo: github.com/ohlcx/docs
- Disclaimer: DISCLAIMER.md
From this repository root (docs/):
cd docs # this folder — the public ohlcx/docs repo root
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
mkdocs serveOpen http://127.0.0.1:8000 (MkDocs Material dev server; edits reload on save).
Branding: Colors match ohlcx.com (navy #05122b, cyan accents, subtle grid). See docs/stylesheets/extra.css. Dark mode is the default palette. Logo: docs/assets/logo3.svg.
Production-style build (same output as GitHub Pages):
mkdocs build
# static site in ./site/Use a venv (as above) on macOS if pip install fails with an “externally managed environment” error.
Maintainers with the private monorepo sync allowlisted files from ohlcx/trading-app (not from ohlcx or ohlcx-light app repos):
cd /path/to/_OHLCX/packages/ohlcx/trading-app
./scripts/sync-public-docs.sh /path/to/docsThat script copies manifest entries, refreshes docs/mcp/tools/index.json, runs generate-mcp-tools-readme.php, and applies public sanitization. Review the diff, then commit and push this docs repo.
See Contributor access.
| Task | Use |
|---|---|
| Publish this site | This repo only — push to public ohlcx/docs (or your user’s docs repo; see below). |
| Sync doc content | packages/ohlcx/trading-app in the private monorepo. |
| Run the product locally | Either app after private access; Light is the usual dev setup (Boost, Dusk, .cursor/). Pro if you need all domain packages locally. |
| Cursor / MCP while coding | Open ohlcx-light as the workspace folder when possible. |
Neither ohlcx nor ohlcx-light is the docs repo; they are private application hosts.
The folder github-org-profile/profile/README.md in the monorepo is only for a GitHub Organization named ohlcx.
- You have github.com/ohlcx as an org → create public repo
ohlcx/.github, pushprofile/README.mdthere. It becomes the org’s landing README. - You only have a personal account (no org, no “corporate” GitHub) → skip
ohlcx/.github. Optionally add a profile README onYOUR_USERNAME/.githubinstead, and link to your publicdocsrepo. - Free org: You can create a GitHub Organization at no cost and still use
ohlcx/.githubif you want theohlcxnamespace for repos and the org profile.
You do not need GitHub Enterprise or a paid plan for org profile READMEs or GitHub Pages on a public docs repo.
The live site is https://docs.ohlcx.com. mkdocs.yml sets site_url accordingly. Each deploy writes site/CNAME (docs.ohlcx.com) for GitHub Pages.
site/sitemap.xml (and all of site/) is generated on mkdocs build / CI — do not edit or commit it. URLs come from site_url (e.g. https://docs.ohlcx.com/..., not ohlcx.github.io). Rebuild locally after changing site_url:
source .venv/bin/activate
mkdocs build
# inspect site/sitemap.xmlIn the repo Settings → Pages → Custom domain, enter docs.ohlcx.com and enable HTTPS. DNS: CNAME record docs → ohlcx.github.io (or your Pages host shown in GitHub).