{"id":21578282,"url":"https://github.com/stephanakkerman/liquidations-chart","last_synced_at":"2025-04-10T17:33:22.341Z","repository":{"id":244443225,"uuid":"815247750","full_name":"StephanAkkerman/liquidations-chart","owner":"StephanAkkerman","description":"Coinglass's total liquidation chart open-sourced","archived":false,"fork":false,"pushed_at":"2024-06-23T16:23:31.000Z","size":364,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T21:42:26.617Z","etag":null,"topics":["binance","bitcoin","btc","chart","charting","charts","crypto","cryptocurrency","financial-analysis","indicator","liquidation","total-liquidations"],"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/StephanAkkerman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-14T17:14:19.000Z","updated_at":"2025-04-02T15:14:59.000Z","dependencies_parsed_at":"2024-06-23T17:50:08.156Z","dependency_job_id":null,"html_url":"https://github.com/StephanAkkerman/liquidations-chart","commit_stats":null,"previous_names":["stephanakkerman/liquidations-chart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanAkkerman%2Fliquidations-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanAkkerman%2Fliquidations-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanAkkerman%2Fliquidations-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanAkkerman%2Fliquidations-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephanAkkerman","download_url":"https://codeload.github.com/StephanAkkerman/liquidations-chart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261993,"owners_count":21074229,"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":["binance","bitcoin","btc","chart","charting","charts","crypto","cryptocurrency","financial-analysis","indicator","liquidation","total-liquidations"],"created_at":"2024-11-24T13:10:02.554Z","updated_at":"2025-04-10T17:33:22.302Z","avatar_url":"https://github.com/StephanAkkerman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Total Liquidation Chart 📊\n\nThis is a simple Python script that generates a liquidation chart for Bitcoin using the style of [Coinglass](https://www.coinglass.com/LiquidationData). The total liquidation chart provides an overview of the short and long liquidations as well as the corresponding BTC price on that day. The settings can be adjusted to also use other cryptocurrencies listed on Binance. The resulting plot can be used as an indicator to determine when to buy or sell Bitcoin. The chart is generated using the matplotlib library in Python.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"Supported versions\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/StephanAkkerman/liquidations-chart.svg?color=brightgreen\" alt=\"License\"\u003e\n  \u003ca href=\"https://github.com/psf/black\"\u003e\u003cimg src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" alt=\"Code style: black\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Introduction\n\nI have previously recreated this chart for my [fintwit-bot](https://github.com/StephanAkkerman/fintwit-bot), unfortunately coinglass removed their API so I had to recreate it using other sources. I used the chart found on [Coinglass](https://www.coinglass.com/LiquidationData) as a reference. The data is fetched using [Binance Public Data](https://github.com/binance/binance-public-data/) and new data is added which each run.\n\n## Installation ⚙️\n\nThe required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block after cloning the repository:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage ⌨️\n\nTo generate the chart, simply run the script using the following command:\n\n```bash\npython src/main.py\n```\n\n## Example 📊\n\nThe following chart is an example of the output generated by the script. The chart shows the total liquidations for Bitcoin over the past 180 days.\n![Liquidation Chart](img/liquidation_chart.png)\n\n### References 📚\n\nThe following image was used as a reference to create the liquidation chart.\n![Liquidation Chart Reference](img/liquidation_chart_reference.png)\n\n## Other Projects 📦\n\nThis project is part of a series of projects that I have created. You can find the other projects in the following list:\n\n- [Bitcoin Rainbow Chart](https://github.com/StephanAkkerman/bitcoin-rainbow-chart)\n- [Live Binance Charts](https://github.com/StephanAkkerman/live-binance-charts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephanakkerman%2Fliquidations-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephanakkerman%2Fliquidations-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephanakkerman%2Fliquidations-chart/lists"}