{"id":16406868,"url":"https://github.com/terror/deft","last_synced_at":"2025-10-29T07:49:56.700Z","repository":{"id":107011710,"uuid":"337793433","full_name":"terror/deft","owner":"terror","description":"Buy X cryptocurrency when Y tweets about it","archived":false,"fork":false,"pushed_at":"2021-02-12T22:57:49.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T09:18:42.276Z","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/terror.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":"2021-02-10T17:05:08.000Z","updated_at":"2023-03-07T18:38:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"59278b92-bb2f-45d0-8da6-c26d9bfcc7d0","html_url":"https://github.com/terror/deft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terror/deft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fdeft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fdeft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fdeft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fdeft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terror","download_url":"https://codeload.github.com/terror/deft/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fdeft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281584985,"owners_count":26526171,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"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":[],"created_at":"2024-10-11T06:11:12.343Z","updated_at":"2025-10-29T07:49:56.683Z","avatar_url":"https://github.com/terror.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://static.coindesk.com/wp-content/uploads/2021/02/musk-doge-1200x628.png)\n\nRandom idea: let's buy cryptocurrencies if an influencer tweets positively about them\n\n## Motivation\n\n\u003cblockquote class=\"twitter-tweet\"\u003e\u003cp lang=\"en\" dir=\"ltr\"\u003e🎶 Who let the Doge out 🎶\u003c/p\u003e\u0026mdash; Elon Musk (@elonmusk) \u003ca href=\"https://twitter.com/elonmusk/status/1358542364948668418?ref_src=twsrc%5Etfw\"\u003eFebruary 7, 2021\u003c/a\u003e\u003c/blockquote\u003e\n\nAfter this tweet, the price of $DOGE increased by roughly 10%.\n\n## Features\n\nA few things this program will take care of:\n- Fetching up to date tweets from specified influencers and filter them based on keywords\n- Run sentiment analysis on the specified influencers tweets\n- Automatically place a customized trade via Binance\n\n## Usage\n\nThis program makes use of several different APIs to perform various tasks.\n\n- [Binance](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)\n- [Twitter](https://developer.twitter.com/)\n- [Google Cloud Platform](https://cloud.google.com/)\n\nYou must have the following environment variables set in order to run the CLI:\n\n```\nBINANCE_API_KEY=\nBINANCE_SECRET_KEY=\nTWITTER_API_TOKEN=\nGOOGLE_APPLICATION_CREDENTIALS=\n```\n\nOnce these are all set up, you can simply run the following command and let the program run in the background:\n```bash\n$ python3 deft --run \u0026\n```\n\n## Configuration\n\nYou must edit the `config.json` file to suit your needs, here is what a sample config file looks like:\n```json\n{\n    \"twitter\": {\n        \"accounts\": [\"elonmusk\", \"jack\"]\n    },\n    \"currencies\": {\n        \"dogecoin\": {\n            \"symbol\": \"DOGEBUSD\",\n            \"quantity\": \"100\",\n            \"limitPrice\": \"0.08\",\n            \"keywords\": [\"DOGE\", \"Dogecoin\"]\n        },\n        \"ethereum\": {\n            \"symbol\": \"ETHBUSD\",\n            \"quantity\": \"0.1\",\n            \"limitPrice\": \"1800\",\n            \"keywords\": [\"ETH\", \"Ethereum\"]\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterror%2Fdeft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterror%2Fdeft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterror%2Fdeft/lists"}