{"id":48007625,"url":"https://github.com/towry/fund-trend","last_synced_at":"2026-04-04T13:25:33.017Z","repository":{"id":310224239,"uuid":"1029839491","full_name":"towry/fund-trend","owner":"towry","description":"Fund trend predication with llm agent, Toy with llm agent, do not take it serious :)","archived":false,"fork":false,"pushed_at":"2025-08-12T00:57:53.000Z","size":78,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T20:22:37.021Z","etag":null,"topics":["funds","goose","llm-agents","sub-agents"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/towry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-31T16:51:12.000Z","updated_at":"2025-08-07T14:13:05.000Z","dependencies_parsed_at":"2025-08-16T16:55:06.738Z","dependency_job_id":null,"html_url":"https://github.com/towry/fund-trend","commit_stats":null,"previous_names":["towry/fund-trend"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/towry/fund-trend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Ffund-trend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Ffund-trend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Ffund-trend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Ffund-trend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/towry","download_url":"https://codeload.github.com/towry/fund-trend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/towry%2Ffund-trend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["funds","goose","llm-agents","sub-agents"],"created_at":"2026-04-04T13:25:32.441Z","updated_at":"2026-04-04T13:25:33.000Z","avatar_url":"https://github.com/towry.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fund Trend Analysis\n\nThis repository contains a GitHub Actions workflow that automatically predicts the movement of the Nasdaq-100 index to guide investment decisions.\n\n\u003e It schedule on every day at 9 PM UTC\n\n## Purpose\n\nThe goal of this project is to:\n\n- Automatically collect the latest financial news related to the Nasdaq-100 index\n- Analyze the news using AI with financial expertise\n- Predict the short-term direction of the Nasdaq-100 index\n- Provide data-driven guidance for investment decisions\n\n## How It Works\n\n1. The workflow runs daily (or can be triggered manually)\n2. It uses the Perplexity search tool to gather the latest relevant news\n3. The collected news is analyzed using a financial AI model\n4. A prediction is generated with supporting rationale\n5. Results are saved and stored in this repository\n\n## Directory Structure\n\n- `news/`: Stores collected news articles\n- `predictions/`: Stores prediction results\n- `.github/workflows/`: Contains the GitHub Actions workflow\n- `scripts/`: Contains helper scripts\n\n## Getting Started\n\nTo use this repository, you need to:\n\n1. Set up an OpenRouter API key from [OpenRouter](https://openrouter.ai/)\n2. Set up a Perplexity API key from [Perplexity AI](https://www.perplexity.ai/)\n3. Add them as GitHub secrets named `OPENROUTER_API_KEY` and `PERPLEXITY_API_KEY`\n4. The workflow will automatically run based on the schedule\n\n## Local Development\n\nTo run the prediction script locally:\n\n1. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n2. Set environment variables:\n\n   ```bash\n   export OPENROUTER_API_KEY=your_openrouter_api_key\n   export PERPLEXITY_API_KEY=your_perplexity_api_key\n   ```\n\n3. Run the prediction script:\n   ```bash\n   ./scripts/predict-nasdaq.sh\n   ```\n\n## Configuration\n\n### Required GitHub Secrets\n\nBefore running the workflow, you need to configure the following secrets in your GitHub repository:\n\n| Secret Name          | Description                              | How to Obtain                                                                |\n| -------------------- | ---------------------------------------- | ---------------------------------------------------------------------------- |\n| `OPENROUTER_API_KEY` | API key for OpenRouter AI service        | Get from [OpenRouter dashboard](https://openrouter.ai/keys)                  |\n| `PERPLEXITY_API_KEY` | API key for Perplexity AI search         | Get from [Perplexity API](https://docs.perplexity.ai/guides/getting-started) |\n| `PUSHOVER_USER`      | Your Pushover user key for notifications | Get from [Pushover dashboard](https://pushover.net/)                         |\n| `PUSHOVER_TOKEN`     | Your Pushover application token          | Create at [Pushover apps](https://pushover.net/apps)                         |\n\n### How to Set GitHub Secrets\n\n1. Go to your GitHub repository\n2. Navigate to **Settings** → **Secrets and variables** → **Actions**\n3. Click **New repository secret**\n4. Add each secret with its corresponding value\n\n### Workflow Configuration\n\nThe workflow uses Goose CLI with OpenRouter as the provider and Perplexity MCP server for searching. The configuration includes:\n\n- **OpenRouter Provider**: For accessing various AI models\n- **Perplexity MCP Server**: For gathering the latest financial news and market analysis\n- **Goose Models**: Configurable AI models for general processing and financial analysis\n- **Scheduled Runs**: Weekly execution on Fridays at 9 AM UTC with optional manual triggering\n\n## Customization\n\nYou can modify:\n\n- The schedule in `.github/workflows/predict-nasdaq.yml`\n- The search query used to find news\n- The AI model used for analysis\n- The prediction criteria\n- Pushover notification settings in the workflow file\n- The search query used to find news\n- The AI model used for analysis\n- The prediction criteria\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowry%2Ffund-trend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftowry%2Ffund-trend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftowry%2Ffund-trend/lists"}