StephanAkkerman / fintwit-bot

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.
http://akkerman.ai/fintwit-bot/
MIT License
61 stars 14 forks source link

Command for setting price alerts for tickers #9

Closed StephanAkkerman closed 10 months ago

StephanAkkerman commented 2 years ago
StephanAkkerman commented 2 years ago

Could open one Binance websocket for crypto, such as the mini ticker socket https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md#all-market-mini-tickers-stream.

StephanAkkerman commented 2 years ago

For now settle with Binance mini ticker socket. Maybe in the future we could check coingecko or tradingview every 5 min, or yahoo finance for stocks.

StephanAkkerman commented 10 months ago

To keep it simple: when we fetch the price of a mentioned ticker, check if it's in this db and alert if the price is above or below it

StephanAkkerman commented 10 months ago

TBH it does not really feel necessary to add this, you could just do this on the exchange you are planning to buy it from