{"id":21387740,"url":"https://github.com/cemkiy/escobar","last_synced_at":"2025-03-16T12:39:00.787Z","repository":{"id":84584858,"uuid":"44857013","full_name":"cemkiy/escobar","owner":"cemkiy","description":"Calculates the correctness of the functions you write for the crypto coin market.","archived":false,"fork":false,"pushed_at":"2018-04-15T08:24:45.000Z","size":36,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T00:22:40.658Z","etag":null,"topics":["bot","cryptocurrency"],"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/cemkiy.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":"2015-10-24T07:41:44.000Z","updated_at":"2020-02-13T15:33:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"97112d05-63ec-4dd4-85a0-d061affbd838","html_url":"https://github.com/cemkiy/escobar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkiy%2Fescobar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkiy%2Fescobar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkiy%2Fescobar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemkiy%2Fescobar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemkiy","download_url":"https://codeload.github.com/cemkiy/escobar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243870522,"owners_count":20361217,"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":["bot","cryptocurrency"],"created_at":"2024-11-22T12:14:31.387Z","updated_at":"2025-03-16T12:39:00.780Z","avatar_url":"https://github.com/cemkiy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n![alt tag](https://d13yacurqjgara.cloudfront.net/users/322905/screenshots/2273155/pablo_v7.gif)\n\n# Escobar\nEscobar is a crypto coin statics helper. It's purpose is determine the accuracy of your functions.\n\n  - Light Weight\n  - Yo Notifications\n  - No Requirements Databases\n  - Uses Coin Market Cap datas\n  - Escobar wise every time\n  - Python 3.x\n\n# How does it work\nEscobar assigns a value to each function. The sum of these values does not exceed 100. That is, each function has a percentage of accuracy. These values are recalculated according to the results they give. And escobar is more intelligent in every work. You can examine the JSON files it creates(exp: weight_bitcoin.json).\n\nYou can run the escobar at any interval.\n\n    python3 escobar.py\n\n# Environment\nBefore install requirements.txt.\n\n    pip3 install requirements.txt\n\nPlease set up your environment variables. Create .env file. Details: [real environment](https://github.com/cemkiy/python-shell-environment)\n\n        coin_name=bitcoin\n        currency=USD\n        notify_high_yo_api_key=\u003capi_key\u003e\n        notify_constant_yo_api_key=\u003capi_key\u003e\n        notify_fall_yo_api_key=\u003capi_key\u003e\n\n# Write Your Own Functions\n 1. Write your own function to forecast.py. The functions can only return 0,1 or -1.\n 0 is will be ignored. 1 is rises and -1 is falls . Example func:\n ```python\ndef trend_by_weekdays(self):\n        weekno = datetime.datetime.today().weekday()\n        if weekno \u003c 5:\n            # weekday\n            return 0\n        else:\n            # weekend\n            return -1\n```\n\n2. Register the functions you want to run in escobar.py.\n ```python\nfunctions_to_be_run = {\n    'trend_by_perc': Forecast.trend_by_perc,\n    'trend_by_weekdays': Forecast.trend_by_weekdays\n}\n```\n\nDone. You can now run and view the results.\n\n# Yo\nYo sends only yo. Escobar script is use this features for send notification about results.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemkiy%2Fescobar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemkiy%2Fescobar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemkiy%2Fescobar/lists"}