{"id":17774502,"url":"https://github.com/nathankot/ledger-get-prices","last_synced_at":"2025-04-21T23:31:13.474Z","repository":{"id":31409197,"uuid":"34972504","full_name":"nathankot/ledger-get-prices","owner":"nathankot","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-01T14:54:02.000Z","size":18,"stargazers_count":19,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T16:55:52.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/nathankot.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}},"created_at":"2015-05-03T03:33:41.000Z","updated_at":"2024-05-26T13:24:14.000Z","dependencies_parsed_at":"2022-09-09T15:51:34.425Z","dependency_job_id":null,"html_url":"https://github.com/nathankot/ledger-get-prices","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathankot%2Fledger-get-prices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathankot%2Fledger-get-prices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathankot%2Fledger-get-prices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathankot%2Fledger-get-prices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathankot","download_url":"https://codeload.github.com/nathankot/ledger-get-prices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248882611,"owners_count":21177077,"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-26T21:51:05.269Z","updated_at":"2025-04-21T23:31:13.197Z","avatar_url":"https://github.com/nathankot.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ledger-get-prices\n\nIt's the end of financial year, and now that I'm accounting with NZD,USD,JPY,BTC I've spent some time to automate the\npricedb process. Enjoy :) PR's welcome.\n\n# Synopsis\n\n_Tool that uses Yahoo finance to intelligently generate\na ledger price database based on your current ledger\ncommodities and time period._\n\nEnsure that you have set the `LEDGER` and `LEDGER_PRICE_DB`\nenvironment variables before proceeding. Alternatively, you\ncan make the same addition to your `.ledgerrc`, so long as\nrunning `ledger` vanilla knows where to get the journal and\npricedb.\n\n# Environment Variables\n\n* __LEDGER_BASE_CURRENCY__: Defaults to USD, change this to your reporting currency.\n* __LEDGER_PRICE_DATE_FORMAT__: The date format of the outputted pricedb. Defaults to `%Y/%m/%d`.\n\n# Usage\n\n```sh\ngem install ledger_get_prices\ngetprices # This will WRITE to your LEDGER_PRICE_DB file.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathankot%2Fledger-get-prices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathankot%2Fledger-get-prices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathankot%2Fledger-get-prices/lists"}