flashalpha 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {flashalpha-0.3.2 → flashalpha-0.3.3}/.claude/settings.json +2 -1
  2. flashalpha-0.3.3/CHANGELOG.md +58 -0
  3. {flashalpha-0.3.2 → flashalpha-0.3.3}/PKG-INFO +2 -1
  4. {flashalpha-0.3.2 → flashalpha-0.3.3}/README.md +1 -0
  5. flashalpha-0.3.3/docs/api.md +2021 -0
  6. {flashalpha-0.3.2 → flashalpha-0.3.3}/pyproject.toml +1 -1
  7. {flashalpha-0.3.2 → flashalpha-0.3.3}/src/flashalpha/client.py +27 -0
  8. {flashalpha-0.3.2 → flashalpha-0.3.3}/tests/test_integration.py +215 -0
  9. flashalpha-0.3.2/CHANGELOG.md +0 -28
  10. {flashalpha-0.3.2 → flashalpha-0.3.3}/.github/workflows/ci.yml +0 -0
  11. {flashalpha-0.3.2 → flashalpha-0.3.3}/.gitignore +0 -0
  12. {flashalpha-0.3.2 → flashalpha-0.3.3}/CONTRIBUTING.md +0 -0
  13. {flashalpha-0.3.2 → flashalpha-0.3.3}/LICENSE +0 -0
  14. {flashalpha-0.3.2 → flashalpha-0.3.3}/article-flashalpha-python-sdk.md +0 -0
  15. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome-investing/CODE_OF_CONDUCT.md +0 -0
  16. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome-investing/LICENSE +0 -0
  17. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome-investing/PULL_REQUEST_TEMPLATE.md +0 -0
  18. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome-investing/README.md +0 -0
  19. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome-investing/contributing.md +0 -0
  20. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome_investing/README.md +0 -0
  21. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome_investing/src/static/img/.gitkeep +0 -0
  22. {flashalpha-0.3.2 → flashalpha-0.3.3}/awesome_investing/src/static/img/markus-spiske-5gGcn2PRrtc-unsplash.jpg +0 -0
  23. {flashalpha-0.3.2 → flashalpha-0.3.3}/examples/quickstart.py +0 -0
  24. {flashalpha-0.3.2 → flashalpha-0.3.3}/src/flashalpha/__init__.py +0 -0
  25. {flashalpha-0.3.2 → flashalpha-0.3.3}/src/flashalpha/exceptions.py +0 -0
  26. {flashalpha-0.3.2 → flashalpha-0.3.3}/tests/__init__.py +0 -0
  27. {flashalpha-0.3.2 → flashalpha-0.3.3}/tests/test_client.py +0 -0
@@ -45,7 +45,8 @@
45
45
  "Bash(npm config:*)",
46
46
  "Bash(export PATH=\"$PATH:/c/Program Files/Go/bin\")",
47
47
  "Bash(go test:*)",
48
- "Bash(FLASHALPHA_API_KEY=\"ejbe0oW5f4n7C7drEg7Ggo6bPtFuFpaLPmvmkDrE\" \"C:/Users/disea/tools/apache-maven-3.9.14/bin/mvn.cmd\" test -Dtest=\"IntegrationTest#testMaxPain*\")"
48
+ "Bash(FLASHALPHA_API_KEY=\"ejbe0oW5f4n7C7drEg7Ggo6bPtFuFpaLPmvmkDrE\" \"C:/Users/disea/tools/apache-maven-3.9.14/bin/mvn.cmd\" test -Dtest=\"IntegrationTest#testMaxPain*\")",
49
+ "Bash(grep -iE \"ejbe0oW5|oy2fcywr|npm_UsjzA|npm_7rHFG|WfdTfVm|ujxFMb|pypi-AgEI|fa_[a-zA-Z0-9]{20,}|FLASHALPHA_API_KEY=.{10,}\")"
49
50
  ],
50
51
  "additionalDirectories": [
51
52
  "C:\\Users\\disea"
@@ -0,0 +1,58 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ### Added
6
+ - `docs/api.md` — full endpoint reference, URL-prefix table, response schemas, and sample JSON for every endpoint (copied from flashalpha-api)
7
+ - 17 integration regression tests (`tests/test_integration.py`) guarding against response-shape and URL-pattern regressions reported by Alpha users:
8
+ - Nested VRP response (`vrp.z_score`, `gex_conditioned.harvest_score`, `regime.net_gex`, `directional.*`)
9
+ - `exposure_summary` nesting (`exposures.net_gex`)
10
+ - VRP directional field names (`downside_vrp`/`upside_vrp`, not `put_vrp`/`call_vrp`)
11
+ - URL-prefix mix — `/stockquote`, `/optionquote`, `/historical/*` without `/v1/`; everything else with
12
+ - `/v1/stock/{sym}/summary` canonical vs `/v1/summary/{sym}` 404
13
+ - Canonical `POST /v1/screener` + `/v1/screener/live` deprecation
14
+ - `/v1/vrp/{sym}` REST endpoint (until `vrp()` method ships)
15
+
16
+ ## 0.3.2 (2026-04-07)
17
+
18
+ ### Added
19
+ - `max_pain()` — max pain analysis with dealer alignment overlay, pain curve, OI breakdown, expected move context, pin probability, and multi-expiry calendar (Growth+)
20
+
21
+ ## 0.3.1 (2026-04-02)
22
+
23
+ ### Changed
24
+ - Screener endpoint renamed: `/v1/screener/live` → `/v1/screener` (canonical). The SDK's `screener()` method now POSTs to `/v1/screener`.
25
+
26
+ ## 0.3.0 (2026-03-30)
27
+
28
+ ### Added
29
+ - `screener()` — live options screener. Filter/rank symbols by gamma exposure, VRP, volatility, greeks, harvest scores, and custom formulas. Growth: 10-symbol universe, up to 10 rows. Alpha: ~250 symbols, up to 50 rows, formulas, and harvest/dealer-flow-risk scores.
30
+ - Recursive filter trees (leaf + `and`/`or` groups), cascading filters via `expiries.*` / `strikes.*` / `contracts.*` prefixes, multi-sort, pagination, inline and named formulas, `select=["*"]` for the full flat object.
31
+ - Unit + integration test coverage for screener filter tree, operators, formulas, and tier gating.
32
+
33
+ ## 0.2.0 (2026-03-26)
34
+
35
+ ### Added
36
+ - `zero_dte()` — real-time 0DTE analytics (regime, pin risk, expected move, hedging, decay)
37
+ - `exposure_history()` — daily exposure snapshots for trend analysis
38
+ - `adv_volatility()` — advanced volatility analytics (SVI parameters, variance surface, arbitrage detection, greeks surfaces, variance swap pricing)
39
+ - Comprehensive method reference table in README
40
+ - SEO-optimized keywords in PyPI metadata
41
+
42
+ ### Changed
43
+ - Updated API plans table to reflect current tiers (Free/Basic/Growth/Alpha)
44
+ - Improved README structure and documentation
45
+
46
+ ## 0.1.0 (2026-03-13)
47
+
48
+ ### Added
49
+ - Initial release
50
+ - Core client with all FlashAlpha API endpoints
51
+ - Exposure analytics: `gex()`, `dex()`, `vex()`, `chex()`, `exposure_levels()`, `exposure_summary()`, `narrative()`
52
+ - Market data: `stock_quote()`, `option_quote()`, `stock_summary()`, `surface()`
53
+ - Historical data: `historical_stock_quote()`, `historical_option_quote()`
54
+ - Pricing: `greeks()`, `iv()`, `kelly()`
55
+ - Volatility: `volatility()`
56
+ - Reference: `tickers()`, `options()`, `symbols()`, `account()`, `health()`
57
+ - Error handling: `AuthenticationError`, `TierRestrictedError`, `NotFoundError`, `RateLimitError`, `ServerError`
58
+ - 36 unit tests, 23 integration tests
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flashalpha
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Python SDK for the FlashAlpha options analytics API — live options screener, gamma exposure (GEX), VRP, delta, vanna, charm, greeks, 0DTE analytics, volatility surfaces, and more.
5
5
  Project-URL: Homepage, https://flashalpha.com
6
6
  Project-URL: Documentation, https://flashalpha.com/docs
@@ -273,6 +273,7 @@ Get your API key at **[flashalpha.com](https://flashalpha.com)**
273
273
  | `fa.greeks(...)` | BSM greeks (1st, 2nd, 3rd order) | Free+ |
274
274
  | `fa.iv(...)` | Implied volatility solver | Free+ |
275
275
  | `fa.kelly(...)` | Kelly criterion sizing | Growth+ |
276
+ | `fa.max_pain(symbol)` | Max pain analysis with dealer alignment, pain curve, pin probability | Growth+ |
276
277
  | `fa.screener(...)` | **Live options screener** — filter/rank by GEX, VRP, IV, greeks, formulas | Growth+ |
277
278
  | `fa.volatility(symbol)` | Comprehensive volatility analytics | Growth+ |
278
279
  | `fa.adv_volatility(symbol)` | SVI, variance surface, arb detection | Alpha+ |
@@ -241,6 +241,7 @@ Get your API key at **[flashalpha.com](https://flashalpha.com)**
241
241
  | `fa.greeks(...)` | BSM greeks (1st, 2nd, 3rd order) | Free+ |
242
242
  | `fa.iv(...)` | Implied volatility solver | Free+ |
243
243
  | `fa.kelly(...)` | Kelly criterion sizing | Growth+ |
244
+ | `fa.max_pain(symbol)` | Max pain analysis with dealer alignment, pain curve, pin probability | Growth+ |
244
245
  | `fa.screener(...)` | **Live options screener** — filter/rank by GEX, VRP, IV, greeks, formulas | Growth+ |
245
246
  | `fa.volatility(symbol)` | Comprehensive volatility analytics | Growth+ |
246
247
  | `fa.adv_volatility(symbol)` | SVI, variance surface, arb detection | Alpha+ |