GithubHelp home page GithubHelp logo

stephanakkerman / fintwit-bot Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 9.0 6.58 MB

FinTwit-Bot is a Discord bot designed to track and analyze financial markets by pulling data from platforms like Twitter, Reddit, and Binance. It features customizable tools for sentiment analysis, market trends, and portfolio tracking to help traders stay informed and make data-driven decisions.

Home Page: http://akkerman.ai/fintwit-bot/

License: MIT License

Python 100.00%
discord-bot twitter twitter-sentiment-analysis cryptocurrency forex stocks binance ccxt crypto cryptocurrency-prices

fintwit-bot's Introduction

Typing SVG

total stars followers

views

๐Ÿ“˜ My Favorite Open Source Projects

fintwit-bot timeseries-volatility-influence live-binance-charts axie-manager-bot tensortrade binance-trailing-stop-loss tensortrade fluentai chart-recognizer

All Repositories

๐Ÿ“• Top Projects I've Contributed To

darts darts fintwitbert

All Repositories

๐Ÿ“Š Github Stats and Activity

StephanAkkerman's Activity Graph

fintwit-bot's People

Contributors

dependabot[bot] avatar imgbotapp avatar mergify[bot] avatar snyk-bot avatar stephanakkerman avatar timkoornstra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fintwit-bot's Issues

[Side project] Use image recognition to decide if a image is a chart or not

This is a project on its own, but could be implemented here to remove useless images from the chart channels

  • Create a dataset of all images and charts that get posted (use scraping script)
  • Try fitting unsupervised clustering on it
  • Try labeling part of the data and applying pre-trained model (maybe fine-tuned)

  • Add pretrained model
  • Implement logic

Possible models

We need to consider efficiency, since it should be able to run on the raspberry pi and finetuning should be possible on a home PC.

Prettify Embeds

  • add tweet timestamp
  • add more fields to embed
  • add footer
  • add header with bot avatar

Keep track of user's crypto portfolio

!portfolio <exchange> <key> <secret>
Doing this command will add a new row to the database, the exchange options are KuCoin and Binance.
After this has happened we open a user socket so we can keep track of the user's buys and sells.
We also make calls every hour to check the prices of the assets on their account (if there are any)

  • Make a command for adding exchange information
  • Format the exchange (always lower) and check if we support this exchange, if not don't add to db
  • Save this information to a database (pandas dataframe, which will be pickled everytime something changes)
  • Get the account balance if !portfolio has been used and save the (user, symbol, quantity, price) in db
  • Start user socket (and publish new trades in dedicated channel)
  • Check assets on account and make a new channel dedicated to this user (for showing their current assets)
  • Send the user a message if their SL or TP has been hit

Post count of mentioned tickers in the last 24h

If a tweet contains a ticker add the ticker, user, sentiment, category, time of tweet to the database.
For every new tweet send a message containing the list of the tickers mentioned in the last 24h and delete the tickers older than 24h.

Also every x hours compare the top 10 (or more depending on rate limit) tickers with twitter's global sentiment.

First ensure that:

  • #185 is working correctly to save time on deciding the ticker category

Fix timestamp

Currently 1 hour less compared to discord timestamp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.