{"id":44073213,"url":"https://github.com/hiroaki-yamamoto/ladder","last_synced_at":"2026-02-08T05:45:53.791Z","repository":{"id":260018119,"uuid":"880067653","full_name":"hiroaki-yamamoto/ladder","owner":"hiroaki-yamamoto","description":"Print ladder price and qty from provided prices for DCA","archived":false,"fork":false,"pushed_at":"2026-01-31T05:42:16.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-31T19:40:52.821Z","etag":null,"topics":["calculation","cost","dca","doller","tools","trading"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"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/hiroaki-yamamoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-29T03:40:54.000Z","updated_at":"2026-01-31T05:42:20.000Z","dependencies_parsed_at":"2026-01-24T08:11:27.124Z","dependency_job_id":null,"html_url":"https://github.com/hiroaki-yamamoto/ladder","commit_stats":null,"previous_names":["hiroaki-yamamoto/ladder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroaki-yamamoto/ladder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroaki-yamamoto%2Fladder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroaki-yamamoto%2Fladder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroaki-yamamoto%2Fladder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroaki-yamamoto%2Fladder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroaki-yamamoto","download_url":"https://codeload.github.com/hiroaki-yamamoto/ladder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroaki-yamamoto%2Fladder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29222230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T05:41:10.886Z","status":"ssl_error","status_checked_at":"2026-02-08T05:40:31.827Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["calculation","cost","dca","doller","tools","trading"],"created_at":"2026-02-08T05:45:53.173Z","updated_at":"2026-02-08T05:45:53.786Z","avatar_url":"https://github.com/hiroaki-yamamoto.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ladder marker for Doller Cost Average (DCA) strategy\n\n[![TestImg]][Test]\n\n[TestImg]: https://github.com/hiroaki-yamamoto/ladder/actions/workflows/test.yml/badge.svg\n[Test]: https://github.com/hiroaki-yamamoto/ladder/actions/workflows/test.yml\n\n## Overview\n\nThis code helps your DCA stock trading strategy. It provides ladder pairs that\ncontain buying price and amount.\n\n## Why API call and auto-trading not supported?\n\n1. Japanese financial platform (e.g. SBI) does not provide API for stock trading.\n2. [Alpaca], which is available in the US, but it provides the market data **not**\n  in real-time, in cheaper plan.\n3. Stock trading is not optimized for HFT (technology, legal stuff, etc...)\n  So, manual trading is enough for DCA.\n\n[Alpaca]: https://alpaca.markets/\n\n## How to use\nThis app runs in terminal. You can build the binary code from source code, and\nyou will see the following help message when you run the binary code with\n`--help` cmdline argument.\n\n```shell\n./ladder --help\nCalculate the ladder price and qty to buy for stock trading (aka. DCA calculator)\n\nUsage: ladder [OPTIONS] \u003cLOW\u003e \u003cHIGH\u003e\n\nArguments:\n  \u003cLOW\u003e   The minimum price to end the ladder\n  \u003cHIGH\u003e  The maximum price to start the ladder\n\nOptions:\n  -n, --num-ladder \u003cNUM_LADDER\u003e\n          The number of ladders to calculate [default: 4]\n  -b, --bese-budget-per-trade \u003cBESE_BUDGET_PER_TRADE\u003e\n          The base budget per trade [default: 1000]\n  -w, --weight \u003cWEIGHT\u003e\n          The weight to increase / decrease the budget per trade. The buget when trading is calculated as bpt = previous bpt * weight [default: 1.0]\n  -h, --help\n          Print help\n  -V, --version\n          Print version\n```\n\n## How to Report Issues\n\nReporting issue is **not** welcome, but sending Pull Request is welcome.\n\n## License\n\nCheck the [LICENSE](LICENSE.md) file.\n\n## Conclusion (Just My Opinion about trading)\n\nThis is the philosophy I keep in mind when making investments: At the base of\nhuman thought lies the will, a primal instinct of animals. As long as the will\nexists, animals continue to affirm their own will. In the survival-of-the-fittest\ncapitalist society, this affirmation of the will becomes particularly pronounced.\n\nThe affirmation of the will means that its manifestations—desires, or\ncravings—are also affirmed. And because the will is boundlessly free, the\ndegree of this affirmation knows no limits. When the affirmation of desire\nreaches its highest level, a person’s desires may drive them to acts that force\nothers—or even themselves—to deny their own desires and, at their root, their\nwill. In other words, a will affirmed to the highest degree can lead to the\nkilling of oneself or others. Ultimately, it is difficult for humans to live\nwithout, to some extent, killing others.\n\nIf you can make good use of this idea, you should be able to make money too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroaki-yamamoto%2Fladder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroaki-yamamoto%2Fladder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroaki-yamamoto%2Fladder/lists"}