{"id":20309917,"url":"https://github.com/connorrmcd6/market-updates-bot","last_synced_at":"2025-07-04T23:06:51.463Z","repository":{"id":157449690,"uuid":"440479234","full_name":"Connorrmcd6/Market-Updates-Bot","owner":"Connorrmcd6","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-13T08:30:21.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T08:11:22.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Connorrmcd6.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-12-21T10:34:42.000Z","updated_at":"2022-01-15T11:19:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"69e0639f-1d19-466d-8d7c-8def44adddc4","html_url":"https://github.com/Connorrmcd6/Market-Updates-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Connorrmcd6/Market-Updates-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Connorrmcd6%2FMarket-Updates-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Connorrmcd6%2FMarket-Updates-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Connorrmcd6%2FMarket-Updates-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Connorrmcd6%2FMarket-Updates-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Connorrmcd6","download_url":"https://codeload.github.com/Connorrmcd6/Market-Updates-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Connorrmcd6%2FMarket-Updates-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263632060,"owners_count":23491530,"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":[],"created_at":"2024-11-14T17:29:16.589Z","updated_at":"2025-07-04T23:06:51.435Z","avatar_url":"https://github.com/Connorrmcd6.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This script sends a daily update on various markets via telegram\n\nConfigs set up:\n- Rename the example_configs.py file to \"configs.py\"\n- Download Telegram and start a chat with @BotFather, send \"/newbot\" and follow the prompts to create your own bot\n- Save the API token as telegram_api_key in the configs.py file\n- To get chat_id, start a chat with @userinfobot and send it \"/start\" then save the ID as chat_id in the configs.py file\n- To get channel_id, create a **public** channel on Telegram and assign the channel name to the channel_id variable in the configs.py file\n- Add your bot to the Telegram channel and make it an admin\n- To get the stock fear and greed index, create an account at https://rapidapi.com/rpi4gx/api/fear-and-greed-index/  to get a valid API key\n- put this API key in the keys dictionary assigned to x-rapidapi-key in the configs.py file \n- Test the bot by running the main.py file\n- If you are sending to specific chats, you should uncomment the commented lines in the crypto.py and stocks.py files and comment out the lines above them\n\n***IMPORTANT: when sending messages directly to users (using chat_id instead of channel_id) the person recieving the message from the bot must first send the bot a message such as 'hello world' to grant permission for the bot to send messages. If you do not do this you will get the following: {'description': 'Bad Request: chat not found', 'error_code': 400, 'ok': False}. This is a saftey feature created by telegram to prevent bots from sending out unsolicited messages***\n\nTickers: \nAll ticker data is sourced from yahoo finance. The fear and greed indexes are accessed via https://rapidapi.com/rpi4gx/api/fear-and-greed-index/ (stocks) and https://alternative.me/crypto/fear-and-greed-index/ (crypto). The market heat map is provided by https://quantifycrypto.com/widget/heatmap\n\nautomation suggestions: \nRun crypto.py or stocks.py on a task scheduler of your choice (cronjob/windows task scheduler are highly recommended)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorrmcd6%2Fmarket-updates-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorrmcd6%2Fmarket-updates-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorrmcd6%2Fmarket-updates-bot/lists"}