Skip to content

OMNI-4202 Add factor parity Python SDK wrappers#2

Draft
daniel-scrivner wants to merge 1 commit into
mainfrom
daniel-scrivner/factors-parity-sdk-sync
Draft

OMNI-4202 Add factor parity Python SDK wrappers#2
daniel-scrivner wants to merge 1 commit into
mainfrom
daniel-scrivner/factors-parity-sdk-sync

Conversation

@daniel-scrivner

Copy link
Copy Markdown
Contributor

Summary

Adds the factor parity SDK surface from OMNI-4202 to the public Python SDK mirror and prepares the next publishable package version.

Closes OMNI-4202

Scope

  • secapi_client/ — Public SDK package
  • omni_datastream_py/ — Legacy / aliased package
  • tests/ — Test suite
  • examples/ — Example scripts
  • pyproject.toml — Packaging, deps, tooling config
  • README.md / docs
  • .github/ — CI/CD workflows

Changes

  • Adds factor history, sparklines, extreme moves/pairs, valuations, valuation stocks, pairs, pair history, bulk download, custom factor analysis, portfolio attribution, portfolio hedge, and model factor analysis wrappers.
  • Keeps response-mode controls as query params for POST routes.
  • Replaces the stale legacy omni_datastream_py client copy with a thin compatibility wrapper around secapi_client.
  • Bumps package and runtime SDK telemetry version to 0.4.1.

Verification

PYTHONPATH=. python3 -m unittest discover -s tests
PYTHONPATH=. python3 - <<'PY'
from secapi_client.client import SDK_VERSION
assert SDK_VERSION == '0.4.1', SDK_VERSION
print(SDK_VERSION)
PY
python3 -m build

Deployment Impact

  • New version bump in pyproject.toml
  • Breaking API change (semver major)
  • PyPI publish required
  • Docs (README / examples) updated to match
  • Companion docs PR in secapi/docs program remains tracked separately

Completion Attestation

  • 100% complete, 100% functional. All source changes for this PR are written, tested, and package-buildable. Registry publish is the release step after review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant