{"id":23675536,"url":"https://github.com/aticio/renko","last_synced_at":"2025-09-02T04:30:27.427Z","repository":{"id":44163711,"uuid":"441403809","full_name":"aticio/renko","owner":"aticio","description":"Renko chart creator.","archived":false,"fork":false,"pushed_at":"2023-03-07T12:41:01.000Z","size":67,"stargazers_count":26,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-16T14:59:17.195Z","etag":null,"topics":["algorithmic-trading","algotrading","cryptocurrency","python","renko","trade"],"latest_commit_sha":null,"homepage":"","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/aticio.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":"2021-12-24T07:55:31.000Z","updated_at":"2025-06-27T05:33:56.000Z","dependencies_parsed_at":"2023-02-10T02:01:43.728Z","dependency_job_id":null,"html_url":"https://github.com/aticio/renko","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aticio/renko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aticio%2Frenko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aticio%2Frenko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aticio%2Frenko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aticio%2Frenko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aticio","download_url":"https://codeload.github.com/aticio/renko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aticio%2Frenko/sbom","scorecard":{"id":214611,"data":{"date":"2025-08-11","repo":{"name":"github.com/aticio/renko","commit":"c24e5cffd0ff0f933e05a16e7523039fdebcd1aa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish-to-test-pypi.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/aticio/renko/publish-to-test-pypi.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-to-test-pypi.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/aticio/renko/publish-to-test-pypi.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish-to-test-pypi.yml:18","Warn: pipCommand not pinned by hash: .github/workflows/publish-to-test-pypi.yml:19","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:25:34.777Z","repository_id":44163711,"created_at":"2025-08-17T01:25:34.777Z","updated_at":"2025-08-17T01:25:34.777Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273233014,"owners_count":25068725,"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-09-02T02:00:09.530Z","response_time":77,"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":["algorithmic-trading","algotrading","cryptocurrency","python","renko","trade"],"created_at":"2024-12-29T14:00:24.152Z","updated_at":"2025-09-02T04:30:27.021Z","avatar_url":"https://github.com/aticio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Renko\n\nRenko chart creator.\n\n[![Publish Python 🐍 distributions 📦 to PyPI and TestPyPI](https://github.com/aticio/renko/actions/workflows/publish-to-test-pypi.yml/badge.svg?branch=main)](https://github.com/aticio/renko/actions/workflows/publish-to-test-pypi.yml)\n\n## Example Usage\n```python\nfrom renko import Renko\n\n...\n\n    # Create new renko instance. Give brick size and list of close prices as parameters\n    rnk = Renko(1000, close)\n    rnk.create_renko()\n\n    print(rnk.bricks)\n...\n\n# The output will be like:\n[\n\t{'type': 'first', 'open': 10336.87, 'close': 10336.87}\n\t{'type': 'up', 'open': 10336.87, 'close': 11084.87}\n\t{'type': 'up', 'open': 11084.87, 'close': 11832.87}\n\t{'type': 'up', 'open': 11832.87, 'close': 12580.87}\n\t{'type': 'up', 'open': 12580.87, 'close': 13328.87}\n\t{'type': 'up', 'open': 13328.87, 'close': 14076.87}\n\t{'type': 'up', 'open': 14076.87, 'close': 14824.87}\n\t{'type': 'up', 'open': 14824.87, 'close': 15572.87}\n\t{'type': 'up', 'open': 15572.87, 'close': 16320.87, 'low': 14818.3}\n\t{'type': 'up', 'open': 16320.87, 'close': 17068.87}\n\t{'type': 'up', 'open': 17068.87, 'close': 17816.87}\n\t{'type': 'up', 'open': 17816.87, 'close': 18564.87}\n\t{'type': 'up', 'open': 18564.87, 'close': 19312.87, 'low': 17139.52}\n\t{'type': 'up', 'open': 19312.87, 'close': 20060.87, 'low': 18036.53}\n\t{'type': 'up', 'open': 20060.87, 'close': 20808.87}\n\n\t...\n\t...\n\t...\n\n\t{'type': 'up', 'open': 48484.87, 'close': 49232.87}\n\t{'type': 'up', 'open': 49232.87, 'close': 49980.87}\n\t{'type': 'up', 'open': 49980.87, 'close': 50728.87}\n\t{'type': 'down', 'open': 49980.87, 'close': 49232.87, 'high': 50820.0}\n\t{'type': 'down', 'open': 49232.87, 'close': 48484.87}\n\t{'type': 'down', 'open': 48484.87, 'close': 47736.87}\n\t{'type': 'down', 'open': 47736.87, 'close': 46988.87}\n\t{'type': 'down', 'open': 46988.87, 'close': 46240.87}\n\t{'type': 'down', 'open': 46240.87, 'close': 45492.87, 'high': 47722.65}\n\t{'type': 'down', 'open': 45492.87, 'close': 44744.87}\n\t{'type': 'down', 'open': 44744.87, 'close': 43996.87}\n\t{'type': 'down', 'open': 43996.87, 'close': 43248.87}\n\t{'type': 'down', 'open': 43248.87, 'close': 42500.87}\n\t{'type': 'down', 'open': 42500.87, 'close': 41752.87}\n\t{'type': 'up', 'open': 42500.87, 'close': 43248.87, 'low': 41679.74}\n\t{'type': 'down', 'open': 42500.87, 'close': 41752.87}\n\t{'type': 'down', 'open': 41752.87, 'close': 41004.87}\n\t{'type': 'down', 'open': 41004.87, 'close': 40256.87}\n]\n```\n\n```python\nfrom renko import Renko\n\n...\n\n    # If you use it live in your strategies, pass the current price to check_new_price() function. \n    # If new price change is big enough to create a new birck or bricks, \n    # the bricks list will be updated accordingly.\n    rnk = Renko(1000, close)\n    rnk.create_renko()\n\n    print(rnk.bricks)\n\n...\n\n    rnk.check_new_price(100000)\n\n    print(\"Bricks after new price added-------------\")\n    print(rnk.bricks)\n\n```\n\n```python\nfrom renko import Renko\n\n...\n    # You can plot the bricks as follows.\n    rnk = Renko(1000, close)\n    rnk.create_renko()\n\trnk.draw_chart()\n...\n\n```\n\n\n![renko_figure](figure.png)\n\n## Installation\n\nRun the following to install:\n\n```python\npip install renko\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faticio%2Frenko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faticio%2Frenko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faticio%2Frenko/lists"}