{"id":25102894,"url":"https://github.com/avtorgenii/trading-buddy","last_synced_at":"2026-05-09T04:33:07.619Z","repository":{"id":260630848,"uuid":"812597430","full_name":"avtorgenii/Trading-Buddy","owner":"avtorgenii","description":"Minimalistic web-client for BingX crypto exchange Peprpetual Futures trading.","archived":false,"fork":false,"pushed_at":"2025-03-02T17:13:11.000Z","size":15576,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T07:12:12.272Z","etag":null,"topics":["cryptocurrency","docker","fastapi","sqlalchemy"],"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/avtorgenii.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T10:56:54.000Z","updated_at":"2025-01-06T16:35:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"055cf28e-d359-469e-91f3-b3af42d96cc7","html_url":"https://github.com/avtorgenii/Trading-Buddy","commit_stats":null,"previous_names":["avtorgenii/trading-buddy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avtorgenii/Trading-Buddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avtorgenii%2FTrading-Buddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avtorgenii%2FTrading-Buddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avtorgenii%2FTrading-Buddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avtorgenii%2FTrading-Buddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avtorgenii","download_url":"https://codeload.github.com/avtorgenii/Trading-Buddy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avtorgenii%2FTrading-Buddy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["cryptocurrency","docker","fastapi","sqlalchemy"],"created_at":"2025-02-07T21:33:33.183Z","updated_at":"2026-05-09T04:33:07.604Z","avatar_url":"https://github.com/avtorgenii.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trading-Buddy\n\nTrading-Buddy is a minimalistic web-client for BingX crypto exchange Peprpetual Futures trading that allows for automatic:\n- Posistion size calculation based on data for available deposit, risk(%) and available margin on your futures account\n- Limit/take-profit/stop-loss orders placement and cancelation\n- Track of your trades in Trade Journal\n\nRead ```RULES_OF_USAGE.txt``` before using Trading-Buddy\n\n\n# .env setup\n- Create ```.env``` file in root directory of project and fill it out:\n  ```\n      API_KEY=\"\u003cyour API key that you get from BingX\u003e\"\n      SECRET_KEY=\"\u003cyour Secret API key that you get from BingX\u003e\"\n      PORT=\u003cport, e.g. 8080\u003e\n      SITE_URL=\"http://\u003cipv4 address that you get from VPS provider, no need for it for local launching\u003e\"\n  ```\n\n# Local launching\nAfter setting up .env file, head to ```main.py``` and run it, web-app will be available at ```127.0.0.1:\u003cport\u003e``` in your browser\n\n# Deploy to VPS\nTrading-Buddy comes with complete Dockerfile that should be used to build your image and deployed to VPS, personally I am using https://digitalocean.com to host web-app.\nI am not providing a link to Image on dockerhub, as for now it requires IP address of VM to be able to send requests to itself from backend, so the image and ```.env``` file should be created by you\n\nUse\n```docker build -t \u003cdocker_nickname\u003e/trading-buddy:1.0 .``` \nin project root folder to build image\n\nAnd\n```docker push \u003cdocker_nickname\u003e/trading-buddy:1.0```\nto push image to dockerhub\n\nThen setup VPS on Digital Ocean according to this video: https://www.youtube.com/watch?v=8fi4NvaZpFc\u0026list=WL\u0026index=52\n\nPull image from dockerhub: ```docker pull \u003cdocker_nickname\u003e/trading-buddy:1.0```\n\nAnd run by ```docker run -p \u003cport\u003e:\u003cport\u003e --name trading-buddy \u003cdocker_nickname\u003e/trading-buddy:1.0```\n\nEnter ```\u003cipv4\u003e:\u003cport\u003e``` in browser and enjoy!\n\n# iPhone\nFrontend of web-app has a configured ```site.webmanifest``` file that makes saved on homescreen site look like an IOS app, definitely check it out\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favtorgenii%2Ftrading-buddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favtorgenii%2Ftrading-buddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favtorgenii%2Ftrading-buddy/lists"}