OKX strategy research and live execution tooling

lxy d0d28fc6bc chore: ignore local generated artifacts 1 месяц назад
okx_codex_trader 79ad074392 feat: add cli commands for okx codex trader 1 месяц назад
tests e2c3ddb4de test: tighten cli json assertions 1 месяц назад
.gitignore d0d28fc6bc chore: ignore local generated artifacts 1 месяц назад
README.md 1348e0f18c docs: keep local verification commands minimal 1 месяц назад
pyproject.toml 3f94692dec chore: scaffold okx codex trader project 1 месяц назад

README.md

okx-codex-trader

Minimal project skeleton for the OKX Codex Trader demo CLI.

CLI usage

python -m okx_codex_trader.cli fetch-history --symbol BTC-USDT-SWAP --bar 1H --limit 50
python -m okx_codex_trader.cli backtest --symbol BTC-USDT-SWAP --bar 1H --limit 200 --leverage 2
python -m okx_codex_trader.cli analyze --symbol BTC-USDT-SWAP --bar 1H --limit 50 --output-file signal.json
python -m okx_codex_trader.cli paper-order --symbol BTC-USDT-SWAP --signal-file signal.json --margin-usdt 100
python -m okx_codex_trader.cli positions --symbol BTC-USDT-SWAP

Supported symbols are BTC-USDT-SWAP and ETH-USDT-SWAP. Backtest leverage is restricted to 1, 2, or 3.

Verification notes

  • OKX demo credentials were not exercised in automated tests.
  • Local codex runtime behavior outside mocked subprocess tests still requires manual verification.