MCPcopy Index your code
hub / github.com/ZENALC/algobot

github.com/ZENALC/algobot @2.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.1 ↗ · + Follow
709 symbols 2,854 edges 61 files 686 documented · 97% updated 3y ago2.1.1 · 2021-12-26★ 95511 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

logo

CI CodeQL License: GPL v3 Python 3.7 Discord

Cryptocurrency trading bot that allows users to create strategies and then backtest, optimize, simulate, or run live bots using them. Telegram integration has been added to support easier and remote trading.

Algobot requires at least Python 3.7.


Please note that Algobot requires TA-LIB. You can view instructions on how to download TA-LIB from here. For Windows users, it's best to download the .whl package for your Python install and pip install it. For Linux and MacOS users, there's excellent documentation available in the link provided above.


Once you have cloned or unpacked the source code locally, run the following commands from your terminal in that directory.

pip install pipenv
pipenv install --dev

If your install fails, please make sure to have Visual Studio Build Tools installed.

Execution

To start Algobot, run:

pipenv run python -m algobot

Set DEBUG=1 to enable debug level logging.

Community

Join our Discord today for contributions or help!

Features

  • View real time data.
  • Create graphs with real time data and/or moving averages.
  • Run simulations with parameters configured.
  • Run custom backtests with parameters configured.
  • Run live bots with parameters configured.
  • Telegram integration that allows users to trade or view statistics.
  • Create custom, trailing, or limit stop losses.
  • Create take profits.
  • Optimize your strategies using the built-in optimizer.
  • Ability to create your own custom strategies.

User Interface

Main Interface Configuration Graphs News

Disclaimer

Bot usage is as is. Algobot is not responsible for any financial burdens or unexpected monetary bugs or glitches.

License

GNU General Public License v3.0

Author

Mihir Shrestha

Contributors

koutsie, Malachi Soord (inverse)

Special Contributors

Peter Motin for being the founder and head of strategic development throughout the entirety of this project.

Contribution

Check our contributing guidelines to get started.

Feature Requests

For any feature requests, feel free to add a feature request through Github's Issues. We would love to hear your ideas and implement them on the application.

Wiki

You can find documentation regarding Algobot here.

Core symbols most depended-on inside this repo

output_message
called by 66
algobot/traders/simulation_trader.py
create_popup
called by 35
algobot/interface/utils.py
get_trader
called by 24
algobot/__main__.py
get_net
called by 24
algobot/traders/trader.py
get_safe_rounded_string
called by 19
algobot/traders/trader.py
get_stop_loss
called by 17
algobot/traders/trader.py
get_default_widget
called by 16
algobot/interface/configuration_helpers.py
add_trade
called by 16
algobot/traders/trader.py

Shape

Method 410
Function 266
Class 33

Languages

Python100%

Modules by API surface

algobot/__main__.py80 symbols
algobot/traders/real_trader.py32 symbols
algobot/traders/simulation_trader.py31 symbols
algobot/traders/backtester.py31 symbols
algobot/helpers.py31 symbols
algobot/traders/trader.py30 symbols
algobot/telegram_bot/bot.py30 symbols
algobot/data.py30 symbols
algobot/threads/bot_thread.py23 symbols
tests/test_base_trader.py21 symbols
algobot/interface/configuration.py21 symbols
tests/test_algorithms.py20 symbols

For agents

$ claude mcp add algobot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact