banbot

command module
v0.1.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

README

banbot

banbot is a high-performance, easy-to-use, multi-symbol, multi-strategy, multi-period, multi-account event-driven trading robot.

AGPLv3 licensed Discord chat

Main Features
  • web ui: write strategy, backtest, and deploy without IDE.
  • high-performance: backtest for 1 year klines in seconds.
  • easy-to-use: write once, support both backtesting and real trading.
  • flexible: free combination of symbols, strategies and time frames.
  • event-driven: no lookahead, more freedom to implement your trade ideas.
  • scalable: trade multiple exchange accounts simultaneously.
  • hyper opt: support bayes/tpe/random/cmaes/ipop-cmaes/bipop-cmaes
Supported Exchanges

banbot support exchanges powered by banexg:

logo id name ver websocket
binance binance spot/usd-m/coin-m * Y
Quick start

image

1. start timescaledb
docker run -d --name timescaledb -p 127.0.0.1:5432:5432 \
  -v /opt/pgdata:/var/lib/postgresql/data \
  -e POSTGRES_PASSWORD=123 timescale/timescaledb:latest-pg17
2. start banbot

create your /root/config.yaml:

exchange:
  binance:
    account_prods:
      user1:  # you can change this
        api_key: your_api_key_here
        api_secret: your_secret_here
#database:
#  url: postgresql://postgres:123@[host.docker.internal]:5432/ban

banbot docker use postgresql://postgres:123@[host.docker.internal]:5432/ban, you can set database.url in the config to change it.

docker run -d --name banbot -p 8000:8000 -v /root:/root\
  --add-host=host.docker.internal:host-gateway banbot/banbot:latest -config /root/config.yml
Document

Please go to BanBot Website for documents.

Contributing

Follow the How to Contribute. Please do get hesitate to get touch via the Discord Chat to discuss development, new features, and the future roadmap.
Unless you explicitly state otherwise, any contributions intentionally submitted for inclusion in a banbot workspace you create shall be licensed under AGPLv3, without any additional terms or conditions.

Donate

If banbot made your life easier and you want to help us improve it further, or if you want to speed up development of new features, please support us with a tip. We appreciate all contributions!

METHOD ADDRESS
BTC bc1qah04suzc2amupds7uqgpukellktscuuyurgflt
ETH 0xedBF0e5ABD81e5F01c088f6B6991a623dB14D43b
LICENSE

This project is dual-licensed under GNU AGPLv3 License and a commercial license. For free use and modifications of the code, you can use the AGPLv3 license. If you require commercial license with different terms, please contact me.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
orm
web
dev
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL