{"id":21734215,"url":"https://github.com/shaunlwm/reticker","last_synced_at":"2025-10-07T01:34:52.133Z","repository":{"id":65489730,"uuid":"400960714","full_name":"ShaunLWM/reticker","owner":"ShaunLWM","description":"Use Regular Expression to extract possible stock tickers from text","archived":false,"fork":false,"pushed_at":"2021-09-03T07:47:02.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T15:45:47.412Z","etag":null,"topics":["stocks","stocks-ticker","ticker","ticker-symbol","tickers"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShaunLWM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-29T05:41:26.000Z","updated_at":"2021-09-03T07:47:44.000Z","dependencies_parsed_at":"2023-01-26T00:32:23.785Z","dependency_job_id":null,"html_url":"https://github.com/ShaunLWM/reticker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ShaunLWM/reticker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Freticker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Freticker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Freticker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Freticker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShaunLWM","download_url":"https://codeload.github.com/ShaunLWM/reticker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShaunLWM%2Freticker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269317236,"owners_count":24396846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["stocks","stocks-ticker","ticker","ticker-symbol","tickers"],"created_at":"2024-11-26T05:08:23.382Z","updated_at":"2025-10-07T01:34:47.109Z","avatar_url":"https://github.com/ShaunLWM.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reticker\n\n[![npm](https://img.shields.io/npm/dt/reticker.svg)](https://github.com/ShaunLWM/reticker/releases)\n[![npm](https://img.shields.io/npm/v/reticker.svg)](https://www.npmjs.com/package/reticker)\n![npm](https://img.shields.io/npm/l/reticker)\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ShaunLWM/reticker/Run%20jest)\n\n\nA [Python-ported](https://github.com/impredicative/reticker) stock tickers extractor using Regular Expressions.\n\n## Installation\n\n```bash\nnpm install reticker\n# -- or\nyarn add reticker\n```\n\n## Usage\n\n```python\nimport TickerExtractor from \"reticker\"\n\nconst tickerExtractor = new TickerExtractor();\n\nconst tickers = await tickerExtractor.extract(\"Comparing FNGU vs $WEBL vs SOXL- who wins? And what about $cldl vs $Skyu? IMHO, SOXL is king!\\nBTW, will the $w+$Z pair still grow?\");\n# ['FNGU', 'WEBL', 'SOXL', 'CLDL', 'SKYU', 'W', 'Z']\n\nconst tickers = await tickerExtractor.extract(\"Which of BTC-USD, $ETH-USD and $ada-usd is best?\\nWhat about $Brk.a and $Brk.B? Compare futures MGC=F and SIL=F.\");\n# ['BTC-USD', 'ETH-USD', 'ADA-USD', 'BRK.A', 'BRK.B', 'MGC=F', 'SIL=F']\n```\n\n### Options\n\n```\nnew TickerExtractor(deduplicate = true, options: TickerMatchConfig)\n\n// deduplicate - Removes duplicate tickers from result\n\n# TickerMatchConfig\nprefixedUppercase?: boolean = true;\nunprefixedUppercase?: boolean = true;\nprefixedLowercase?: boolean = true;\nprefixedTitlecase?: boolean = true;\nseparators?: string | undefined | null = \".-=\";\n```\n\n## TODO\n\n- Match `^STI`\n- Match `9988.hk`\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Credits\n\n[reticker](https://github.com/impredicative/reticker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaunlwm%2Freticker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaunlwm%2Freticker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaunlwm%2Freticker/lists"}