{"id":17713736,"url":"https://github.com/duart38/console-candlestick-chart","last_synced_at":"2026-05-07T17:35:37.501Z","repository":{"id":43664644,"uuid":"500596098","full_name":"duart38/Console-candlestick-chart","owner":"duart38","description":"Japanese candlesticks charts in the console for TypeScript/JavaScript projects.","archived":false,"fork":false,"pushed_at":"2022-07-07T14:38:19.000Z","size":779,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-16T16:16:13.593Z","etag":null,"topics":["candlestick","candlestick-chart","chart","deno","javascript","javascript-library","trading","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duart38.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-06T21:17:20.000Z","updated_at":"2023-11-08T22:48:36.000Z","dependencies_parsed_at":"2022-09-26T21:11:37.199Z","dependency_job_id":null,"html_url":"https://github.com/duart38/Console-candlestick-chart","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duart38%2FConsole-candlestick-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duart38%2FConsole-candlestick-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duart38%2FConsole-candlestick-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duart38%2FConsole-candlestick-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duart38","download_url":"https://codeload.github.com/duart38/Console-candlestick-chart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457857,"owners_count":20780672,"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":["candlestick","candlestick-chart","chart","deno","javascript","javascript-library","trading","typescript","typescript-library"],"created_at":"2024-10-25T10:22:22.162Z","updated_at":"2026-05-07T17:35:37.457Z","avatar_url":"https://github.com/duart38.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Render candlestick charts within your terminal\n\u003e This is still work in progress. There's quite some issues with some missing candles due to lack of checks for some small granular candles. Performance can also significantly be improved.\n\n- Adjusts based on terminal width and height automatically\n- Customizable symbols\n- Ability to change candle color (e.g., when a pattern is to be displayed in the terminal)\n\n\u003cimg src=\"https://github.com/duart38/Console-candlestick-chart/raw/0.0.1/showcase1.png\" /\u003e\n\n## Example usage\n```TypeScript\nconst data:  Array\u003cTOHLC\u003e = [...] // your data here\nconst chart = new Chart(data);\n\n// (COMMENTED) example of how to apply an effect to a candle.\n// chart.getActiveCandles()[3].addEffect(Color.bgBlue);\n\n// rendering of the terminal\nconsole.log(chart+\"\");\n\n// executes callback when terminal size changes\nchart.onConsoleSizeChange((e)=\u003e{\n    // clear the terminal\n    Deno.stdout.write(new TextEncoder().encode(`\\x1B[2J`));\n    // re-print the chart\n    console.log(\"\"+chart);\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduart38%2Fconsole-candlestick-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduart38%2Fconsole-candlestick-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduart38%2Fconsole-candlestick-chart/lists"}