{"id":20520868,"url":"https://github.com/owlinux1000/mercoinplcalculator","last_synced_at":"2026-04-21T06:02:34.769Z","repository":{"id":226118799,"uuid":"767459203","full_name":"owlinux1000/MercoinPLCalculator","owner":"owlinux1000","description":"メルコインの月間取引報告書を用いた年間損益の計算スクリプト","archived":false,"fork":false,"pushed_at":"2024-03-05T23:58:51.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T10:35:35.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/owlinux1000.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-03-05T10:32:02.000Z","updated_at":"2024-03-05T10:34:51.000Z","dependencies_parsed_at":"2024-03-06T00:44:12.888Z","dependency_job_id":"29ec3d2a-e613-478c-98a2-73b3d7d23482","html_url":"https://github.com/owlinux1000/MercoinPLCalculator","commit_stats":null,"previous_names":["owlinux1000/mercoinplcalculator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2FMercoinPLCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2FMercoinPLCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2FMercoinPLCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2FMercoinPLCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owlinux1000","download_url":"https://codeload.github.com/owlinux1000/MercoinPLCalculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242124327,"owners_count":20075529,"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-15T22:24:03.346Z","updated_at":"2026-04-21T06:02:29.698Z","avatar_url":"https://github.com/owlinux1000.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# メルコインの月間取引報告書を用いた年間損益の計算スクリプト\n\n## 概要\n\nこのスクリプトは、メルコインの月間取引報告書のCSVファイルを元に、市民税・県民税の申告や確定申告で必要となる数値を算出します。本スクリプトによって算出された値を、[暗号資産等に関する税務上の取扱い及び計算書について（令和5年12月）](https://www.nta.go.jp/publication/pamph/shotoku/kakuteishinkokukankei/kasoutuka/)で公開されている「**暗号資産の計算書（総平均法用）（EXCEL/233KB）**」に記載することで所得の計算をすることができます。**移動平均法用ではない**ので注意してください。  \n月間取引報告書を用いた計算アルゴリズムは、メルカリのヘルプセンターに記載されている、[取引報告書・損益計算方法（ビットコイン取引）](https://help.jp.mercari.com/guide/articles/1513/)に従っています。\n\n### 免責事項\n\n本スクリプトは、できる限り正確な値を算出するように努めておりますが、正確性を保証するものではありません。本スクリプトによって生じた損害等の一切の責任を負いかねますのでご了承ください。\n\n## 使い方\n\n1. 作業用のフォルダ（例ではwork）を作成する\n1. 対象年度の1月から12月の月間取引報告書をダウンロードし、作業フォルダに格納する\n    - [取引報告書のダウンロード方法（ビットコイン取引）](https://help.jp.mercari.com/guide/articles/1369/)\n1. 作業用フォルダを指定して、本スクリプトを実行する\n    - `python plcalc.py -p work/`\n\n正しく実行できると下記のような結果が得られます。\n\n```\n$ python plcalc.py -p work/\n購入数量の合計: 0.00170094\n購入金額の合計: 6891.0\n売却数量の合計: 0.00170094\n売却金額の合計: 8577.0\n所得金額: 1686.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowlinux1000%2Fmercoinplcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowlinux1000%2Fmercoinplcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowlinux1000%2Fmercoinplcalculator/lists"}