{"id":20102844,"url":"https://github.com/artdevgame/stock-bot","last_synced_at":"2025-03-02T17:22:29.184Z","repository":{"id":179634357,"uuid":"330186213","full_name":"artdevgame/stock-bot","owner":"artdevgame","description":"Automate retrieval of dividend payments","archived":false,"fork":false,"pushed_at":"2021-08-20T16:37:46.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-13T04:29:56.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/artdevgame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-01-16T14:54:54.000Z","updated_at":"2021-08-20T16:37:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"318c78e3-578e-4cf7-a88d-874115b4a06e","html_url":"https://github.com/artdevgame/stock-bot","commit_stats":null,"previous_names":["artdevgame/stock-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fstock-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fstock-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fstock-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artdevgame%2Fstock-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artdevgame","download_url":"https://codeload.github.com/artdevgame/stock-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241542229,"owners_count":19979278,"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","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":[],"created_at":"2024-11-13T17:33:16.921Z","updated_at":"2025-03-02T17:22:29.142Z","avatar_url":"https://github.com/artdevgame.png","language":"TypeScript","readme":"# stock-bot\n\nAutomate retrieval of Trading 212 dividend payments.\n\n## Requirements\n\n- Node.js (\u003e= `v14.14.0`)\n- Yarn\n\n\u003e I've created [stock-bot-api](https://github.com/artdevgame/stock-bot-api) to retrieve dividend yield information, which I intend to host somewhere in the future, but for now you can download and run it locally. It's not _exactly_ a requirement, but this app will show warnings when trying to generate the dashboard data without it.\n\n## Instructions\n\n1. Install dependencies: `yarn install`\n2. Set your Trading 212 username and password in the [config](./config/default.json)\n3. Run `yarn data:fetch`\n\nA Chrome browser will be started via Puppeteer, trading212.com will be loaded and your username/password will be filled out. You'll be asked to input a 2FA code if it has been enabled on your account.\n\nThe app then captures the required tokens to call different endpoints on trading212.com and a JSON file is created in `./src/api-response/dividends.json` with the history of your dividend payments.\n\nTo view a dashboard of your results, run `yarn start:fresh`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdevgame%2Fstock-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartdevgame%2Fstock-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartdevgame%2Fstock-bot/lists"}