{"id":18709267,"url":"https://github.com/jojoee/duckbot","last_synced_at":"2026-02-10T17:02:02.499Z","repository":{"id":47816077,"uuid":"340022352","full_name":"jojoee/duckbot","owner":"jojoee","description":"Duck learns trading bot. With his 1-3-inch-flying-algorithm, he rules them all.","archived":false,"fork":false,"pushed_at":"2022-07-06T04:45:33.000Z","size":118,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T02:15:50.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jojoee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T11:01:30.000Z","updated_at":"2023-03-05T00:03:51.000Z","dependencies_parsed_at":"2022-09-08T22:32:34.486Z","dependency_job_id":null,"html_url":"https://github.com/jojoee/duckbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jojoee/duckbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fduckbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fduckbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fduckbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fduckbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jojoee","download_url":"https://codeload.github.com/jojoee/duckbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fduckbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29308872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"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":[],"created_at":"2024-11-07T12:26:54.366Z","updated_at":"2026-02-10T17:02:02.470Z","avatar_url":"https://github.com/jojoee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# duckbot\n\n:duck: -is swimming in the pond.\n\nDuck learns trading bot. With his 1-3-inch-flying-algorithm makes, he rules them all.\n\n![continuous integration](https://github.com/jojoee/cyclical/workflows/continuous%20integration/badge.svg?branch=master)\n\n![LINE notify screenshot](./asset/LINE-notify-screenshot.png)\n\n## Getting Started\n\n1. Install [Python](https://www.python.org/) and [Conda](https://docs.conda.io/en/latest/)\n2. Install dependencies `pip install -r requirements.txt`\n3. 3rd party setup\n- FTX: Register [FTX exchange](https://ftx.com/#a=13144711)\n- FTX: do the KYC\n- FTX: Create [API key](https://ftx.com/profile)\n- LINE: create LINE group\n- LINE: create [LINE bot token](https://notify-bot.line.me/my/)\n- LINE: invite \"LINE Notify\" bot into that group\n4. Setup project and run\n```bash\n# TODO: complete it\n```\n\n## Note\n- [ ] Backtesting\n- [ ] Gracefully shutdown by closing all opened positions\n- [ ] Trading algorithm that not depends on historical data\n- [ ] Fix floating point error e.g. 3.7572000000000005\n- [x] `ALL_UPPER_CASE` is for global variable and constant\n- [ ] `generate_zone.py`\n- [ ] Setup https://github.com/pyinstaller/pyinstaller\n- [x] Logger\n    - Daily rotation\n    - Specify timezone \n\n## Reference\n- Originally created by Pisut Oncharoen\n- https://docs.ftx.com/#rest-api\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fduckbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojoee%2Fduckbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fduckbot/lists"}