{"id":20256237,"url":"https://github.com/hazardland/trader.php","last_synced_at":"2026-04-15T23:33:38.782Z","repository":{"id":69836068,"uuid":"145847361","full_name":"hazardland/trader.php","owner":"hazardland","description":"poloniex trader bot","archived":false,"fork":false,"pushed_at":"2020-04-01T07:34:51.000Z","size":1189,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-10T18:39:52.331Z","etag":null,"topics":["poloniex","poloniex-bot","poloniex-lending-bot","poloniex-trade-bot","trader"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/hazardland.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":"2018-08-23T11:59:04.000Z","updated_at":"2021-10-01T15:28:43.000Z","dependencies_parsed_at":"2023-03-09T07:15:33.351Z","dependency_job_id":null,"html_url":"https://github.com/hazardland/trader.php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hazardland/trader.php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazardland%2Ftrader.php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazardland%2Ftrader.php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazardland%2Ftrader.php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazardland%2Ftrader.php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazardland","download_url":"https://codeload.github.com/hazardland/trader.php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazardland%2Ftrader.php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31865070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["poloniex","poloniex-bot","poloniex-lending-bot","poloniex-trade-bot","trader"],"created_at":"2024-11-14T10:45:57.584Z","updated_at":"2026-04-15T23:33:38.766Z","avatar_url":"https://github.com/hazardland.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Clone with command\n```\ngit clone --recursive https://github.com/hazardland/trader.php.git ./trader\n```\nCheckout all submodules to master branch with command inside ./trader dir\n```\ngit submodule foreach --recursive git checkout master\n```\nRuning on Android with Termux\n\n\u003cdiv\u003e\n\u003cimg src=\"./doc/images/xrp_sell.png\" width=\"400\" style='float:left'/\u003e\n\u003cimg src=\"./doc/images/xrp_buy.png\" width=\"400\" style='float:left'/\u003e\n\u003c/div\u003e\n\n# Usage\n\n1. Edit *./my_config.php* file\n3. Run ```php ./bot.php my_config```\n\n# Config directives\n\n**pair** - Your poloniex trading pair like *USTD_XRP* or *BTC_ETC*\n\n**buy-win-percent**,**sell-win-percent** - Minumum much percent you want to win on your next trade. For example if you bought *10 USDT* with *100 XRP* if you set win-percent to *1%*, trader will wait until it can afford *101 XRP* + trading fees on next trade.\n\n**first-trade-currency**, **first-trade-amount** - These values indicate minumum how much and what currency trader must trade for on the first trader. For example you bought *100 XRP* with *50 USD*, then you might want to get minimum *50 USD* + win percent of *50 USD* on your first trade so you set *first-trade-currency=USDT* and *first-trade-amount=50*\n\nAnd also you will have to set **poloniex-key**, **poloniex-secret**.\n\n# Warrning\n\nBe aware that bot currently trades with all amout you have on pair currency balances.\n\n# Strategy\n\nThere is not almost any strategy involved except that bot sells and waits until it can buy more than it sold. In order to have some profit your target currency must be returning at same rate between time intervals.\n\n# Risks\n\nYour bot might sell and never buy because currency rate is never going down from sell point or it might buy and never sell because your currency price is never going up.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazardland%2Ftrader.php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazardland%2Ftrader.php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazardland%2Ftrader.php/lists"}