{"id":18118223,"url":"https://github.com/chemaclass/transactions-aggregator","last_synced_at":"2025-08-16T15:09:30.949Z","repository":{"id":45065638,"uuid":"444385058","full_name":"Chemaclass/transactions-aggregator","owner":"Chemaclass","description":"This is a pet project to calculate/aggregate data from the resulting export file of a history of transactions.","archived":false,"fork":false,"pushed_at":"2022-01-15T08:36:45.000Z","size":264,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-06T12:54:25.560Z","etag":null,"topics":["aggregator","csv","php","transactions"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chemaclass.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}},"created_at":"2022-01-04T10:57:46.000Z","updated_at":"2022-01-10T18:10:23.000Z","dependencies_parsed_at":"2022-08-26T09:23:03.221Z","dependency_job_id":null,"html_url":"https://github.com/Chemaclass/transactions-aggregator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"Chemaclass/php-scaffolding","purl":"pkg:github/Chemaclass/transactions-aggregator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chemaclass%2Ftransactions-aggregator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chemaclass%2Ftransactions-aggregator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chemaclass%2Ftransactions-aggregator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chemaclass%2Ftransactions-aggregator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chemaclass","download_url":"https://codeload.github.com/Chemaclass/transactions-aggregator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chemaclass%2Ftransactions-aggregator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270728073,"owners_count":24635135,"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-16T02:00:11.002Z","response_time":91,"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":["aggregator","csv","php","transactions"],"created_at":"2024-11-01T05:09:34.868Z","updated_at":"2025-08-16T15:09:30.931Z","avatar_url":"https://github.com/Chemaclass.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transactions Aggregator\n\n[![CI](https://github.com/Chemaclass/cdc-transactions-history/actions/workflows/ci.yml/badge.svg)](https://github.com/Chemaclass/cdc-transactions-history/actions/workflows/ci.yml)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Chemaclass/cdc-transactions-history/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Chemaclass/cdc-transactions-history/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/Chemaclass/cdc-transactions-history/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Chemaclass/cdc-transactions-history/?branch=master)\n[![Psalm Type-coverage Status](https://shepherd.dev/github/Chemaclass/cdc-transactions-history/coverage.svg)](https://shepherd.dev/github/Chemaclass/cdc-transactions-history)\n[![MIT Software License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\nThis is a pet project to gather interesting data from the resulting export file of the history transactions from the\nCrypto.com app. For example, how much investment have you put into a particular ticker.\n\n### Why?\n\nI used the \"Crypto.com App\" for learning purposes, and I would like to read the history as a csv that you can download\nwith all your transactions, and from it, I would like to extract and aggregate some data as I want.\n\nFor this reason I created this project, to be able to read that file and get the data I am interested with, while\npracticing TDD and some software architecture decisions just for fun.\n\n### How does it work\n\n1. It applies a concrete aggregator for each transaction type group.\n2. The mapping with the aggregators is chosen on the fly when mapping the transactions. See `CsvHeadersTransactionMapper`.\n\n### Commands\n\n- [aggregate](src/TransactionsHistory/Domain/Service/AggregateService.php):\n    - `php bin/console aggregate data/transactions.csv --currency=BCH,ETH,ADA`\n    - Options\n        - `type`: filter by transaction type (optional; allowed multiple)\n        - `currency`: filter by currency/ticker (optional; allowed multiple)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchemaclass%2Ftransactions-aggregator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchemaclass%2Ftransactions-aggregator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchemaclass%2Ftransactions-aggregator/lists"}