feat(screener): migrate to /v1/quote/ai/screener/* endpoints#530
Merged
Conversation
- All five screener paths updated to /v1/quote/ai/screener/* prefix
- screener_recommend_strategies and screener_user_strategies gain a
required `market` query parameter across Rust, Python, Node.js, Java, C
- screener_strategy(id) switches from ?id= query param to /{id} path param
- Blocking wrapper, all language bindings, Python .pyi stubs, and C header updated
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…trategy parsing
- screener_strategy: strip filter_ from filter.filters[].key in response
- screener_indicators: strip filter_ from groups[].indicators[].key and
build tech_values map from tech_indicators before returning
- screener_search: Mode A now fetches strategy from AI endpoint
(/v1/quote/ai/screener/strategy/{id}), derives market from response,
and sends filter.filters[] with DEFAULT_RETURNS; Mode B accepts
"KEY:MIN:MAX" condition strings; response items[].indicators[].key
has filter_ stripped; page is now 0-indexed
- Add conditions/show params to all SDK bindings (Python, Node.js, C, Java)
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…bindings The C functions gained a 'market' param; remove conflicting forward decls (already declared in longbridge.h) and add market to hpp/cpp signatures. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…aram, fix C++ signatures - Add ScreenerCondition struct (Rust/Python/Node.js) for typed screener_search Mode B conditions instead of KEY:MIN:MAX strings - Python: ScreenerCondition pyclass with key/min/max/tech_values(JSON string) - Node.js: ScreenerCondition napi object with same fields - Java: add market param to getRecommendStrategies/getUserStrategies and SdkNative - C++: add market param to screener_recommend/user_strategies hpp/cpp Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…l SDKs Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates all screener endpoints from
/v1/quote/screener/*to/v1/quote/ai/screener/*per longbridge-terminal PR #217.Changes
GET /v1/quote/screener/strategies/recommendGET /v1/quote/ai/screener/strategies/recommendGET /v1/quote/screener/strategies/mineGET /v1/quote/ai/screener/strategies/mineGET /v1/quote/screener/strategy?id=NGET /v1/quote/ai/screener/strategy/{id}POST /v1/quote/screener/searchPOST /v1/quote/ai/screener/searchGET /v1/quote/screener/indicatorsGET /v1/quote/ai/screener/indicatorsBreaking changes
screener_recommend_strategies(market)andscreener_user_strategies(market)now require amarketparameter (Rust/Python/Node.js/Java/C)screener_strategy(id)uses path param instead of query param🤖 Generated with Claude Code