Skip to content

felipet/shortbot

Repository files navigation

License GitHub Actions Workflow Status

This is a Telegram bot that helps investors to keep track of short positions against stock companies that belong to the Ibex35.

The information is notified by mutual funds to the regulator (CNMV) within a maximum time period. Short positions (>= 0.5% of the total market capitalization of a company) must be notified as well as changes on those. This information is public and available in CNMV's web page. However, the design of that page, and its speed makes really annoying checking positions.

That's why I made this bot!

Bot's features

  • Multilingual support for Spanish and English users.
  • Simple check of alive short positions for every stock company of the Ibex35.

Usage

To start using this bot, just search @IbexShortBot in Telegram, or open this link.

Development

Before making any commit to the repository, [pre-commit] shall be installed to check that everything within the commit complies with the style rules of the repository.

Then, a git hook shall be installed. The hooks for this repository are located at .githooks. These can be copied to .git/hooks/ or used straight from such location when telling git where to look for hooks:

$ git config core.hooksPath .githooks

A pre-push hook is also added to avoid pushing code that doesn't pass tests. If you really aim to push code that doesn't pass tests for some reason, the following command can be used:

$ git push --no-verify <remote> <branch>