get news

Data Community

Skill notes

Arguments

$ARGUMENTS = TICKER CUTOFF_DATETIME [MONTH_OFFSET] Examples: AAPL 2025-04-01T00:00:00 → all news up to April 1st AAPL 2025-04-01T00:00:00 1m → March only AAPL 2025-04-01T00:00:00 2m → February only

Logic

Parse arguments: TICKER = first argument CUTOFF = second argument (datetime) MONTH_OFFSET = optional third argument (1m, 2m, 3m, etc.) Calculate date range:

Output

Return pipe-delimited, one per line: If no results: NO_NEWS_FOUND

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Data
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
94 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@majiayu000 · MIT
Token usage
Lean
Setup complexity
Plug-and-play
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Author source file SKILL.md

## Arguments

`$ARGUMENTS` = `TICKER CUTOFF_DATETIME [MONTH_OFFSET]`

Examples:
- `AAPL 2025-04-01T00:00:00` → all news up to April 1st
- `AAPL 2025-04-01T00:00:00 1m` → March only
- `AAPL 2025-04-01T00:00:00 2m` → February only
- `AAPL 2025-04-01T00:00:00 3m` → January only

## Logic

Parse arguments:
1. TICKER = first argument
2. CUTOFF = second argument (datetime)
3. MONTH_OFFSET = optional third argument (1m, 2m, 3m, etc.)

Calculate date range:
- If no offset: `start = '1900-01-01'`, `end = CUTOFF`
- If offset Nm:
  - `end` = first day of month that is (N-1) months before CUTOFF
  - `start` = first day of month that is N months before CUTOFF

Example with CUTOFF = 2025-04-01T00:00:00:
- 1m → start: 2025-03-01, end: 2025-04-01 (March)
- 2m → start: 2025-02-01, end: 2025-03-01 (February)
- 3m → start: 2025-01-01, end: 2025-02-01 (January)

## Query

```cypher
MATCH (n:News)-[r:INFLUENCES]->(c:Company {ticker: $ticker})
WHERE n.created >= $start AND n.created < $end
RETURN n.created, n.title, r.daily_stock
ORDER BY n.created ASC
```

## Output

Return pipe-delimited, one per line:
```
datetime|title|return
```

If no results: `NO_NEWS_FOUND`

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.