19 Commits

Author SHA1 Message Date
Achmad b410868386 Remove uv.lock from gitignore 2026-05-19 15:17:44 +00:00
Achmad 2e8047fefe Add db to gitignore 2026-05-19 14:31:25 +00:00
Achmad c48e188b81 Update README and SKILL.md for get_historical_candles date/time range
Document the new from_date/to_date parameters, supported date formats,
resolution options, and usage examples including intraday time windows.
2026-05-17 08:14:10 +00:00
Achmad 79d1e0e538 Add date/time range support to get_historical_candles
- _fetch_candles now accepts explicit from_ts/to_ts timestamps; falls
  back to count-based window when omitted
- get_historical_candles accepts from_date/to_date in YYYY-MM-DD,
  YYYY-MM-DD HH:MM, or YYYY-MM-DD HH:MM:SS formats (all UTC)
- Yahoo Finance fallback switched from range= to period1/period2 so
  it respects the exact window in both modes
- Added 11 tests covering date range, datetime, end-of-day bump,
  invalid format, count cap, and pattern detection toggle
- gitignore uv.lock (Dockerfile uses pip, not uv sync)
2026-05-17 08:10:03 +00:00
Achmad b24a424c8f Fix docker deployment 2026-05-17 07:38:54 +00:00
Achmad c31096fe4b Add SQLite-cached check_holidays MCP tool with pre-analysis checklist
- Add check_holidays MCP tool in server.py with SQLite caching (cache-first, API-fallback)
- Add Section 6 Pre-Analysis Checklist (market status, holidays, news, analysis type) to SKILL.md
- Add holidays-data named volume to docker-compose.yml for DB persistence
- Add API_CO_ID_KEY and HOLIDAYS_DB_PATH env vars to Dockerfile and .env.example
- Remove scripts/ directory (replaced by MCP tool), slim down Dockerfile
2026-05-17 07:31:51 +00:00
achmad 568be26adc Add TA pdf 2026-05-17 13:43:48 +07:00
achmad d26f77765a Add SKILL.md 2026-05-17 13:39:29 +07:00
achmad a4ac5c649a Fix historical candle chart 2026-05-17 13:33:50 +07:00
achmad a0ac9c3429 Merge branch 'main' of https://git.achmad.dev/admin/tradingview-screener-mcp 2026-05-17 13:29:02 +07:00
achmad ac6463accb Add get_historical_candles tool with candlestick pattern detection
Fetches historical OHLCV data from TradingView's chart API for
candlestick pattern analysis (doji, engulfing, hammer, etc.)
and trend analysis over N candles.
2026-05-17 13:28:31 +07:00
achmad f34f77dc54 Add opencode config to gitignore 2026-05-17 13:12:49 +07:00
Achmad 8cf31a28b5 Fix transport_security blocking non-localhost bindings
When binding to a non-localhost host, FastMCP's auto-set restrictive
transport_security causes external connections to be rejected with 421.
Reset it to None so hosts like host.docker.internal are accepted.
2026-05-17 05:26:33 +00:00
achmad 8eef3bfffc Add Dockerfile and docker-compose.yml for deployment 2026-05-17 11:23:16 +07:00
achmad 5f7ae71383 Remove NanoClaw integration docs from README 2026-05-17 11:22:15 +07:00
achmad 10713df294 Add streamable-http and SSE transport support via CLI args 2026-05-17 11:16:42 +07:00
achmad 9a064adac5 Fix tradingview-screener repo URL 2026-05-17 11:12:22 +07:00
achmad 6d8399f300 Add README.md with tool docs, filter reference, and setup guide 2026-05-17 11:11:04 +07:00
achmad 38f9b980ec Initial commit: MCP server wrapping tradingview-screener as MCP tools
- 11 MCP tools: get_stock_quotes, screen_market, find_top_gainers,
  find_top_losers, find_most_active, technical_scan, fundamental_scan,
  list_markets, list_fields, set_session, clear_session
- Structured filter conditions with nested And/Or groups
- Session cookie resolution: per-call > in-memory > env var
- auto-load .env via python-dotenv
- 69 unit tests covering helpers, conditions, filters, and all tools
2026-05-17 11:09:26 +07:00