Skip to content

About the project

Fox — A Link to the Price is a Telegram bot that provided real-time data and analysis for assets from different financial markets, in response to commands typed by the user.

Status: offline since September 21, 2024

Fox was taken offline because there was no longer a VPS to host it. This documentation is kept as a record of the project.

What Fox did

  • Technical analysis: indicators (RSI, Stoch, Stoch RSI, TSI, ROC, AO, PPO), best-fit channels, price location and bar size.
  • Price Action: signal bars, inside and outside bars, market type (LOM/SOM, according to Al Brooks) and breakout conditions.
  • Machine Learning: trend classification with K-Means, together with a statistical approach and a Price Action one.
  • Statistical analysis: Pearson correlation between assets to evaluate portfolio diversification.
  • Fundamental analysis: multiples for an asset and rankings of Ibovespa stocks by indicator.
  • Market overview: PDF with quotes, economic calendar and news.

Markets covered

The US stock exchange (NYSE), B3, cryptocurrencies (Binance assets), real estate funds and other assets available on Yahoo Finance. See the asset format.

How it worked

  1. The user sent a command to the bot on Telegram, such as /rsi BTC/USDT D1.
  2. The bot obtained the asset data (Binance for cryptocurrencies, Yahoo Finance for the traditional market).
  3. The analyses were calculated and returned in the chat itself, as an image, text or PDF.

Technologies

Fox was written in Python. These were the foundations of the project, but other libraries were also used:

Function Library
Telegram bot python-telegram-bot
Cryptocurrency data ccxt
Traditional market data yfinance
Fundamental multiples fundamentus
Machine Learning scikit-learn
Price Action (Al Brooks' method) In-house library, for private use
Data handling and computation pandas and NumPy
Charts Matplotlib and Plotly

The bot was hosted on a VPS, and the end of it is what led to its shutdown.

What if Fox comes back?

Fox is offline, but it can be brought back. If you are interested in using it, open an issue on GitHub describing your use case. The more interest there is, the more reason to bring it back.

In the meantime, the quick reference shows everything it does.

Author

Developed by Samir Angelo Milani Martins. Contact: GitHub.

Disclaimer

Fox does not make any buy or sell recommendation for assets and comes with no warranty. It was developed solely for educational purposes. See the full disclaimer on the home page.