All Projects → luisgc93 → stock_reminder_bot

luisgc93 / stock_reminder_bot

Licence: MIT license
A twitter bot that reminds you of stock and crypto predictions

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to stock reminder bot

Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+14112%)
Mutual labels:  financial-data, alpha-vantage, alphavantage
TwitterPiBot
A Python based bot for Raspberry Pi that grabs tweets with a specific hashtag and reads them out loud.
Stars: ✭ 85 (+240%)
Mutual labels:  peewee, tweepy
alpha-vantage-cookbook
JavaScript examples to help you with accessing market data from https://www.alphavantage.co/
Stars: ✭ 97 (+288%)
Mutual labels:  financial-data, alpha-vantage
twitter-bot
Simple Twitter bot using Tweepy and Python
Stars: ✭ 16 (-36%)
Mutual labels:  twitter-bot, tweepy
continuous-integration-with-python
How to test your python code. How to automatically run your tests for your Python code. How to get reports of the tests coverage
Stars: ✭ 25 (+0%)
Mutual labels:  travis-ci, pytest
Twitterbot en 30
Los bots son relevantes para nosotros, pues automatizan tareas que eventualmente simplificarán trabajo a futuro. En este taller relámpago aprenderemos cómo crear un bot en Twitter usando Python, para de manera automática tuitear frases de un libro. ¡En sólo 30 minutos!
Stars: ✭ 19 (-24%)
Mutual labels:  twitter-bot, tweepy
Molecule Ansible Docker Aws
Example project showing how to test Ansible roles with Molecule using Testinfra and a multiscenario approach with Docker, Vagrant & AWS EC2 as infrastructure providers
Stars: ✭ 72 (+188%)
Mutual labels:  travis-ci, pytest
TwitterAutoReplyBot
This is a tiny Python script that replies to a specified number of tweets containing a specified hashtag.
Stars: ✭ 33 (+32%)
Mutual labels:  twitter-bot, tweepy
TwitterScraper
Scrape a User's Twitter data! Bypass the 3,200 tweet API limit for a User!
Stars: ✭ 80 (+220%)
Mutual labels:  twitter-bot, tweepy
LGBTQ-of-the-day-bot
Twitter bot tweeting fun goofy lgbtq things and queer history of the day
Stars: ✭ 65 (+160%)
Mutual labels:  twitter-bot, tweepy
TgTwitterStreamer
Continous Integration from Twitter to Telegram.
Stars: ✭ 55 (+120%)
Mutual labels:  twitter-bot, tweepy
TinyFlowerBeds
Educational bot that posts a tiny flower bed on Twitter every few hours. Check it out if you're new to Python and open source!
Stars: ✭ 12 (-52%)
Mutual labels:  twitter-bot, tweepy
ci-testing-python
Sample Microservice App in Python for Testing using pytest, uber/doubles, tox on CI servers like Jenkins and Travis CI using Docker + Docker-Compose for test environment.
Stars: ✭ 37 (+48%)
Mutual labels:  travis-ci, pytest
Python-Twitter-Bot
Python Twitter Bot which retweet,like,and follow or tweet texts from file
Stars: ✭ 62 (+148%)
Mutual labels:  twitter-bot
Awesome Python Login Model
模拟登陆基本采用的是直接登录或者使用selenium+webdriver的方式,有的网站直接登录难度很大,比如qq空间,bilibili等如果采用selenium就相对轻松一些。
Stars: ✭ 13,953 (+55712%)
Mutual labels:  twitter-bot
himawari bot
Code that runs the twitter.com/himawari8bot bot.
Stars: ✭ 14 (-44%)
Mutual labels:  twitter-bot
awesome-twitter-bots
A Curated Collection of the Best Twitter Bots 🤖
Stars: ✭ 99 (+296%)
Mutual labels:  twitter-bot
dashboard
Simple code build dashboard
Stars: ✭ 14 (-44%)
Mutual labels:  travis-ci
TraceElements
Tracery grammars for building creative Twitterbots. Contains generative grammars for story-telling, metaphor generation, ironic put-downs, Trumpisms, short poems, etc.
Stars: ✭ 31 (+24%)
Mutual labels:  twitter-bot
TwitterEventBot
No description or website provided.
Stars: ✭ 13 (-48%)
Mutual labels:  twitter-bot

Stock-Reminder Bot 🤖

Build Status codecov Code style: black

A twitter bot that registers reminders for stock and cryptocurrency prices. Mention the bot with a cashtag followed by a stock or cryptocurrency ticker symbol and the reminder date:

bot_mention

The bot will then get back to you on the specified date with your investment results and a randomly generated gif that will match your earnings:

bot_mention

bot_mention

Additionally, the bot can also produce rating reports when it is mentioned with a ticker symbol and the words "report" or "analyse"/"analyze":

bot_mention

Implementation 🛠️

The bot uses RomelTorres' python wrapper for the Alpha Vantage API. It's deployed on Heroku with Docker 🐳 and uses a clock process for replying to twitter mentions and posting reminders. When a mention is in the correct format, a reminder object is saved into a postgres database through peewee's ORM. Every 2 minutes, the bot will check whether any reminders are due and publish an update by replying to the initial tweet with the investment results. Further implementation details can be found in the project's medium post.

Usage

Register an account on Twitter's Developer Platform and store your credentials in /envfiles/local.env. To run the bot locally, start the project containers with make env-start and then try out the bot's features with:

make reply-mentions

To run all the tests use:

make test

To check code formatting:

make linting

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].