{"id":18029451,"url":"https://github.com/morucci/cryptysto","last_synced_at":"2025-04-04T21:12:55.559Z","repository":{"id":142717089,"uuid":"354095250","full_name":"morucci/cryptysto","owner":"morucci","description":"A small tool to read crypto exchange ledger and create summary","archived":false,"fork":false,"pushed_at":"2021-04-05T08:50:35.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T05:41:51.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/morucci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-04-02T18:00:56.000Z","updated_at":"2021-04-05T08:50:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddf18a5e-2ab0-4992-a4be-59229a0a47e4","html_url":"https://github.com/morucci/cryptysto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fcryptysto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fcryptysto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fcryptysto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morucci%2Fcryptysto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morucci","download_url":"https://codeload.github.com/morucci/cryptysto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249549,"owners_count":20908212,"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-10-30T09:09:41.821Z","updated_at":"2025-04-04T21:12:55.542Z","avatar_url":"https://github.com/morucci.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptysto\n\nA small tool to compute assets across exchanges. Only Bitfinex, Kraken and Binance are supported.\n\nThis tool is for demo purpose only. Results might not be accurate.\n\n## Installation\n\n```Shell\n$ git clone https://github.com/morucci/cryptysto.git\n$ cd cryptysto\n$ python setup.py install --user\n```\n\n## Usage\n\nCreate a config.yaml file such as:\n\n```YAML\napikey: YOUR-CRYPTOWATCH-API-KEY (Read only - optional - to get historical USDT - higher api rate limit)\nledgers:\n  - path: path-to-ledger csv file\n    _type: binance|kraken|bitfinex|local\n  ...\n```\n\n### Show balance\n\n```Shell\n$ cryptysto --config=config.yaml --show-balance --compute-usdt-value\nDedup Warn: 2021-02-09 23:42:24: [Binance] Trade [LTC] amount: XXX\nDedup Warn: 2021-02-09 23:42:24: [Binance] Trade [USDT] amount: XXX\nDedup Warn: 2021-02-02 08:43:57: [Kraken] Trade Fee [EUR] amount: XXX\n...\nBALANCE Summary at 2021-04-05 08:04:44.875077\n==============\nBinance[BTC]: XXX USDT:XXX\nBinance[LTC]: XXX USDT:XXX\nBinance[TOTAL CRYPTO ASSET USDT VALUE]: XXX\nKraken[BTC]: XXX USDT:XXX\nKraken[DOGE]: XXX USDT:XXX\nKraken[TOTAL CRYPTO ASSET USDT VALUE]: XXX\nTOTAL CRYPTO ASSET USDT VALUE: XXX\n```\n\n### Show ledger summary\n\nNote the filtering capability.\n\n```Shell\n$ cryptysto --config=config.yaml --show-ledger-summary --filter-exchange Kraken --filter-op-type Deposit --filter-asset-type fiat\nLEDGER Summary\n==============\nTotal Deposit on Kraken of EUR: XXX\n```\n\n### Usage help\n\n```Shell\n$ cryptysto -h\nusage: main.py [-h] [--config CONFIG] [--show-ledger-ops] [--show-ledger-summary] [--show-balances] [--show-last-op] [--compute-usdt-value]\n               [--filter-op-type {Deposit,DepositFee,Withdrawal,WithdrawalFee,Trade,TradeFee}] [--filter-asset-type {crypto,fiat}]\n               [--filter-exchange {Binance,Bitfinex,Kraken,Local}] [--compute-until COMPUTE_UNTIL]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --config CONFIG       Path to the configuration file\n  --show-ledger-ops     Show all ledger operations\n  --show-ledger-summary\n                        Show ledger summary\n  --show-balances       Show balances\n  --show-last-op        Show last known operation\n  --compute-usdt-value  Add usdt value to balance\n  --filter-op-type {Deposit,DepositFee,Withdrawal,WithdrawalFee,Trade,TradeFee}\n                        Filter on operation type\n  --filter-asset-type {crypto,fiat}\n                        Filter on asset type type\n  --filter-exchange {Binance,Bitfinex,Kraken,Local}\n                        Filter on exchange name\n  --compute-until COMPUTE_UNTIL\n                        Compute until date\n```\n\n## Contribute\n\nAny help welcome via Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorucci%2Fcryptysto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorucci%2Fcryptysto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorucci%2Fcryptysto/lists"}