feat(core): core-path features — search, metainfo, TA summary, TA ranking#46
Merged
Conversation
Core-path features (Spec: docs/SPEC-core-path.md):
- Core-1: search_symbols — browserless symbol discovery via symbol-search v3
- Core-2: get_market_metainfo — market/screener metadata discovery
- Core-3: richer field/timeframe support (timeframe-qualified columns)
- Core-4: get_ta_summary — TradingView-style TA with buy/sell/neutral labels
- Core-5: rank_by_ta — weighted multi-timeframe TA ranking
API fixes found during integration testing:
- search: added Origin/Referer headers (TradingView blocks without them)
- search: strip <em> HTML tags from highlighted results
- search: populate currency_code from TradingView response
- search: asset_type param not supported by v3 endpoint (removed server-side)
- metainfo: handle compact {n, t, r} field format from real API
- metainfo: CLI --fields now supports comma-separated values
Removes experimental tool references (bars, stream) that belong to lab-path.
Updates README with new tools, CLI commands, and usage examples.
204 unit tests passing.
21 integration tests against live TradingView API:
- Core-1: search_symbols (6 tests)
- Core-2: get_market_metainfo (4 tests)
- Core-4: get_ta_summary (5 tests)
- Core-5: rank_by_ta (4 tests)
- Regression: existing screen/lookup tools (2 tests)
Bug fixes found during integration testing:
- search: added Origin/Referer headers (TradingView blocks without them)
- search: strip <em> HTML tags, populate currency_code
- search: asset_type param not supported by v3 endpoint
- metainfo: handle compact {n, t, r} field format from real API
- CLI: --fields now supports comma-separated values
Isolation:
- 'npm test' → 204 unit tests only (src/tests/*.test.ts flat glob)
- 'npm run test:integration' → 21 integration tests only (TV_INTEGRATION=1 gate)
- Zero cross-contamination between suites
CI: .github/workflows/integration.yml (weekly, manual, label-triggered)
The default GITHUB_TOKEN doesn't have issues:write or pull-requests:write, which caused the 'Comment PR with results' step to 403.
Contributor
Integration Test Results✅ Passed — hit real TradingView API endpoints. https://github.com/fiale-plus/tradingview-mcp-server/actions/runs/24265433652 |
…label Reduces unnecessary TradingView API load by skipping drafts and intermediate pushes. Integration tests only fire when: - PR marked ready for review - PR gets 'run-integration' label - Weekly schedule (Saturday) - Manual workflow_dispatch
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.
Core Path Implementation
Implements the core-path spec defined in
docs/SPEC-core-path.md— the browserless, HTTP-first expansion track.Features Added (Core-1 through Core-5)
search_symbolstradingview-cli searchget_market_metainfotradingview-cli metainfoget_ta_summarytradingview-cli tarank_by_tatradingview-cli rank-taArchitecture
Spec Verification
strong_sell/sell/neutral/buy/strong_buyRecommend.All|60) supportedCleanup
docs/SPEC-core-path.mdas source of truthOut of Scope (per spec)
WebSocket streaming, browser automation, order execution, Pine compilation, screenshots — these belong to the lab or future product lines.