All Projects → gabriel-milan → btrader

gabriel-milan / btrader

Licence: GPL-3.0 license
Triangle arbitrage trading bot for Binance

Programming Languages

rust
11053 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to btrader

binance-rs-async
Async client for the Binance APIs
Stars: ✭ 74 (-62.44%)
Mutual labels:  trading, binance
Binance Rs
Rust Library for the Binance API
Stars: ✭ 164 (-16.75%)
Mutual labels:  trading, binance
Tardis Node
Convenient access to tick-level real-time and historical cryptocurrency market data via Node.js
Stars: ✭ 126 (-36.04%)
Mutual labels:  trading, binance
Tradingview Alert Binance Trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 100 (-49.24%)
Mutual labels:  trading, binance
Binance Trader
Experimental trading bot for crypto currency on Binance.com
Stars: ✭ 218 (+10.66%)
Mutual labels:  trading, binance
Kupi Terminal
Ccxt based, open source, customized, extendable trading platform that supports 130+ crypto exchanges.
Stars: ✭ 104 (-47.21%)
Mutual labels:  trading, binance
Bitprophet
Node crypto trading platform for Binance exchange.
Stars: ✭ 166 (-15.74%)
Mutual labels:  trading, binance
Trading Indicator
provide trading technical indicator values based on data of almost crypto currency exchanges
Stars: ✭ 31 (-84.26%)
Mutual labels:  trading, binance
Bbgo
The modern cryptocurrency trading bot written in Go.
Stars: ✭ 192 (-2.54%)
Mutual labels:  trading, binance
Trading Server
A multi-asset, multi-strategy, event-driven trade execution and management platform for running many algorithms/bots at many venues simultaneously with unified risk management and reporting. Uses MongoDB for storage and Telegram for user notifications/trade consent.
Stars: ✭ 191 (-3.05%)
Mutual labels:  trading, binance
Marketstore
DataFrame Server for Financial Timeseries Data
Stars: ✭ 1,290 (+554.82%)
Mutual labels:  trading, binance
Blankly
🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Stars: ✭ 1,456 (+639.09%)
Mutual labels:  trading, binance
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+452.79%)
Mutual labels:  trading, binance
Cassandre Trading Bot
Cassandre makes it easy to create your Java crypto trading bot. Our Spring boot starter takes care of exchange connections, accounts, orders, trades, and positions.
Stars: ✭ 120 (-39.09%)
Mutual labels:  trading, binance
Siis
Trading bot including terminal, for crypto and traditionals markets. Assisted or fully automated strategy.
Stars: ✭ 45 (-77.16%)
Mutual labels:  trading, binance
Crex
A Golang cryptocurrency trading API & Library. Support Binance, BitMEX, Deribit, Bybit, Huobi DM, OKEX Futures and more.
Stars: ✭ 166 (-15.74%)
Mutual labels:  trading, binance
Crypto Exchanges Gateway
Your gateway to the world of crypto !
Stars: ✭ 343 (+74.11%)
Mutual labels:  trading, binance
Cryptofeed
Cryptocurrency Exchange Websocket Data Feed Handler
Stars: ✭ 643 (+226.4%)
Mutual labels:  trading, binance
Krypto Trading Bot
Self-hosted crypto trading bot (automated high frequency market making) written in C++
Stars: ✭ 2,589 (+1214.21%)
Mutual labels:  trading, binance
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (+15.74%)
Mutual labels:  trading, binance

bTrader

Build Status Crate Docker Image

This is an arbitrage trading bot initially inspired by this JS implementation. For that reason, you'll find yourself comfortable with the configuration file for this if you have already tried the JS one.

For further information on the status of this bot, refer to Development status

Please support the project

If you've enjoyed bTrader, please consider supporting its development:

Buy Me A Coffee

Steps to run the bot

First of all, it's important to say that the great bottleneck for triangle arbitrage is related to network delays, not software performance. If you'd like better results, my recommendation is to rent a server with the lowest latency to api.binance.com as possible. In some places you'll find that the Binance servers may be located at Seattle(US), Tokyo(Japan) or even Isenburg(Germany). I haven't tried all locations, but I'm getting around 10ms latency on Saitama(Japan), which is probably fine.

Once you've decided what to do, generate your own configuration file, based on config/sample_config.json. It's pretty straightforward, but if you have any doubts please refer to the JS implementation guide. For Telegram stuff, refer to the Telegram configuration section.

The Docker method (easy way)

This method is the easy way to run this, but be aware that, by using Docker, performance may be a little worse. Use this for debugging purposes.

  1. Please be sure that you have Docker installed and access to an user account with enough privilege to run containers.

  2. Run the following command (note that $(pwd)/config.json is the path to your configuration file!)

docker run --net host -it --name btrader -v $(pwd)/config.json:/config.json gabrielmilan/btrader

Note: the --net host argument reduces networking overhead for the container.

Compile and install (recommended)

This method envolves more steps, but it's recommended for performance.

  1. Please be sure that you have Rust installed fully. If you don't, refer to Install Rust.

  2. Clone this repository:

git clone https://github.com/gabriel-milan/btrader
  1. cd into the repository directory and run:
cargo install --path .
  1. You can then execute it by doing:
btrader /path/to/your/configuration/file.json

Telegram configuration

  • Generate a bot token with BotFather (official tutorial here)
  • Get your Telegram user ID with the @userinfobot
  • Fill the configuration file with your data (if you fill your user ID incorrectly, it will send messages to someone else!)
  • Bot will notify you about executed trades or discovered deals, according to your config file

Development status

  • Refactor from Python + Boost to Rust
  • Publish on crates.io (waiting on wisespace-io/binance-rs#60)
  • Configuration file checking
  • Speed things up by computing trades in parallel
  • Generate binary distributions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].