OKX strategy research and live execution tooling
|
|
2 hete | |
|---|---|---|
| deploy | 2 hete | |
| docs | 2 hete | |
| freqtrade | 3 hete | |
| okx_codex_trader | 2 hete | |
| openspec | 1 hónapja | |
| reports | 2 hete | |
| scripts | 2 hete | |
| tests | 2 hete | |
| .gitignore | 1 hónapja | |
| AGENTS.md | 2 hete | |
| README.md | 2 hete | |
| pyproject.toml | 1 hónapja | |
| uv.lock | 1 hónapja |
Research and live-observation workspace for OKX crypto futures strategies.
The project started as a small OKX CLI and now contains:
Live trading exists in this project. Treat order-submission paths as production code.
Read these files in order when opening a new session:
AGENTS.md - repo-specific agent rules.docs/current-status.md - current live strategy, observers, recent findings, and next work.docs/operations.md - server, systemd services, monitoring, deployment, and safety commands.docs/architecture.md - package/script/report boundaries and current modularization state.docs/documentation-guide.md - where to put durable docs vs generated research reports.Current server:
ubuntu@66.253.42.170/opt/okx-codex-trader/etc/okx-codex-trader/okx.envbb-squeeze-executor.serviceokx_codex_trader/ - reusable package code: OKX client, candle models, live execution planning, strategy helpers, reporting primitives.scripts/ - research searches, signal-intent builders, observers, and live runners.reports/ - generated research outputs and latest operational snapshots.docs/ - durable human-maintained project documentation.deploy/ - systemd unit files and install helpers.tests/ - unit and regression tests.data/okx-candles/ - local candle cache, not a source module.var/ - runtime state and event logs, not source.Use rtk for shell commands in this repo.
rtk .venv/bin/python -m pytest -q
rtk .venv/bin/python scripts/summarize_readonly_observers.py
rtk .venv/bin/python scripts/build_high_frequency_portfolio_observation_intent.py
Older CLI commands are still available:
rtk .venv/bin/python -m okx_codex_trader.cli fetch-history --symbol BTC-USDT-SWAP --bar 1H --limit 50
rtk .venv/bin/python -m okx_codex_trader.cli okx-account --symbol ETH-USDT-SWAP --currency USDT
Authenticated OKX commands require OKX_API_KEY, OKX_API_SECRET, OKX_API_PASSPHRASE, and OKX_TRADING_ENV=demo|live.
submitted_orders: 0 and must not call OKX order APIs.The latest observer snapshot is generated by:
rtk .venv/bin/python scripts/summarize_readonly_observers.py
Current checked-in snapshot:
reports/live-recent/readonly-observers-snapshot.md