Skip to content

Tags: FlashAlpha-lab/flashalpha-python

Tags

v0.4.0-rc.1

Toggle v0.4.0-rc.1's commit message
v0.4.0-rc.1: ExposureSummary typed POCO + 100% field-coverage integra…

…tion test

- Add ExposureSummaryResponse + 5 sub-types mirroring the existing
  ZeroDteResponse pattern. Field-level Optional/nullable across all five
  languages.
- Wire the new types into the package root export.
- Integration test now references every leaf field declared in the POCO.
- Bump version to 0.4.0-rc.1 (PEP 440: 0.4.0rc1; npm/NuGet: 0.4.0-rc.1;
  Maven: 0.4.0-RC1).

API behaviour clarifications confirmed via live probe:
- regime ∈ {positive_gamma, negative_gamma, neutral, undetermined}
  (`neutral` is not in the API doc text but appears in live responses
  when net_gex straddles zero; existing tests already accepted it).
- direction on both /exposure/summary and /exposure/zero-dte is
  lowercase "buy"/"sell". Existing API docs show uppercase BUY/SELL on
  summary but the live response is lowercase. Type definitions reflect
  the actual response, not the docs.

Backwards-compatible: existing untyped methods continue to return raw
JsonElement / map[string]interface{} / dict / unknown unchanged. Typed
return-type annotations on Python/TS are non-breaking (TypedDict /
interface).

v0.2.0

Toggle v0.2.0's commit message
Add CI workflow, changelog, contributing guide, cross-links

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>