SkillAgentSearch skills...

Krypto Trading Bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++

Install / Use

npx skills add ctubio/Krypto-trading-bot

Installs into whichever agent you are using.

README

<img align="left" src="https://user-images.githubusercontent.com/1634027/36237231-e611590e-11fa-11e8-8486-6675078501dc.jpg" /><p align="right">self reminder:<br><b>patience is the mother of science</b></p><br><a href="http://ciutatrefugi.barcelona/en/welcome-barcelona">*** REFUGEES WELCOME! ***</a><br/>     <a href="http://missingmigrants.iom.int/">*** FATAL ROUTES? ***</a> <br clear="left">

Release Platform g0t0 Counter Code Size Software License Software License

K is a family of (very customizable) very low latency market making trading bots with a fully featured web interface.<br />It can place or cancel orders on compatible exchanges in less than a few milliseconds per order on a decent machine.

If you don't want to configure or hardcode your own trading strategies in your own machine,<br /> you can fund liquidity pools of automated market makers at tinyman.org (or at any other defi out there),<br />just remember:

  • <b><ins>never write on any defi website your private keys</ins></b> (you have to sign transactions, not to share your wallet keys)
  • <b><ins>never tell anyone on any chat your private keys</ins></b> (if you have questions, use a public forum and reject impostors)

<img src="https://github.githubassets.com/images/icons/emoji/unicode/1f4be.png" height="64" width="64" align="middle" /> Latest version at https://github.com/ctubio/Krypto-trading-bot <img src="https://github.githubassets.com/images/icons/emoji/unicode/1f51e.png" height="64" width="64" align="middle" /> <img src="https://github.githubassets.com/images/icons/emoji/unicode/1f4b8.png" height="64" width="64" align="middle" />

Build Status Coverage Status Quality Status Open Issues Last Commit Downloads Last Releases

Our bots run on unix-like systems. Persistence is achieved through a built-in server-less SQLite C++ interface.<br>Data transfers are directly done from your machine to the exchange using the latest CURL and OpenSSL versions.<br>Installation in a dedicated Debian, Raspberry, Red Hat, CentOS or macOS instance without Docker is recommended.

The web UI is compatible with most web browsers/resolutions, but Brave or Firefox at 1600px are recommended.<br />Doesn't require configuration of any web server (unless installed behind your own reverse proxy).

<details><summary><b>K-trading-bot</b> <sup>(web UI + CLI)</sup></summary> to control a fully configurable high frequency trading engine, with all features suggested by the community:<br />

trading-bot UI Preview

</details> <details><summary><b>K-+portfolios</b> <sup>(web UI + CLI)</sup></summary> to show all balances from one exchange, with buttons to create, edit or cancel orders and links to go to markets:<br />

+portfolios UI Preview

</details> <details><summary><b>K-hello-world</b> <sup>(CLI)</sup></summary> to print the current value of a given currency to stdout:<br /> <pre> _________________________________________ / Hello, WORLD! \ | | \ pssst.. 1.00000000 BTC = 56683.49 EUR. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || </pre> </details> <details><summary><b>K-scaling-bot, K-stable--bot</b> <sup>(CLI)</sup></summary> to easy mod and start developing a new custom bot. </details>

Compatible Exchanges

All currency pairs are supported (use --list argument to see all currently tradable pairs on a given exchange).

<table><tbody><tr><td></td><td align="center"><b>under maintenance</b></td><td colspan="2" align="center" nowrap><b>under development or abandoned</b></td></tr><tr><td align="center"><b>Spot Trading</b></td><td nowrap><a href="https://www.coinbase.com/en-es/advanced-trade">Coinbase</a> <sub>(<a href="https://help.coinbase.com/en/coinbase/trading-and-funding/advanced-trade/advanced-trade-fees">fees</a>)</sub><br> &#10239; <i>REST + 2 WebSockets</i><br><br><a href="https://www.binance.com/">Binance</a> <sub>(<a href="https://www.binance.com/en/fee/schedule">fees</a>)</sub><br><a href="https://www.binance.us/">Binance.US</a> <sub>(<a href="https://www.binance.us/fees">fees</a>)</sub><br> &#10239; <i>REST + 1 WebSocket</i><br><br><a href="https://www.bitmex.com/">BitMEX</a> <sub>(<a href="https://www.bitmex.com/wallet/fees/derivatives">fees</a>)</sub><br> &#10239; <i>REST + 1 WebSocket</i></td><td nowrap><a href="https://www.kraken.com/">Kraken</a> <sub>(<a href="https://www.kraken.com/features/fee-schedule">fees</a>)</sub><br> &#10239; <i>REST + 2 WebSockets</i><br><br><a href="https://www.kucoin.com/">KuCoin</a> <sub>(<a href="https://www.kucoin.com/vip/level">fees</a>)</sub><br> &#10239; <i>REST + 1 WebSocket</i><br><br><a href="https://www.bitfinex.com/">Bitfinex</a> <sub>(<a href="https://www.bitfinex.com/fees">fees</a>)</sub><br><a href="https://www.ethfinex.com/">Ethfinex</a> <sub>(<a href="https://www.ethfinex.com/fees">fees</a>)</sub><br> &#10239; <i>REST + 1 WebSocket</i></td><td nowrap><a href="https://www.gate.io/">Gate.io</a> <sub>(<a href="https://www.gate.io/fee">fees</a>)</sub><br> &#10239; <i>REST + 1 WebSocket</i><br><br><a href="https://hitbtc.com/">HitBTC</a> <sub>(<a href="https://hitbtc.com/fee-tier">fees</a>)</sub><br><a href="https://bequant.io/">Bequant</a> <sub>(<a href="https://bequant.io/fees-and-limits">fees</a>)</sub><br> &#10239; <i>REST + 2 WebSockets</i><br><br><a href="https://www.poloniex.com/">Poloniex</a> <sub>(<a href="https://poloniex.com/fees/">fees</a>)</sub><br> &#10239; <i>REST + 1 WebSocket</i></td></tr><tr><td align="center"><b>Margin Trading</b></td><td nowrap><i>none</i></td><td colspan="2" nowrap><i>none</i></td></tr></tbody></table>

If you ask me, <img height="20px" src="https://github.com/user-attachments/assets/e84f2708-d29a-423d-a702-42c87a8ffe5b"> is the best and most secure by far, so here is my referral link for both of us to enjoy.

In case you are looking for referral links to other exchanges, feel free to post a new issue asking to other active users.

README

Docker Installation

See etc/Dockerfile file.

Windows Installation

Before starting with a manual installation, ensure your target machine has Windows 7 or greater and MSYS2 installed.

Use MSYS2 Terminal to install make (with command pacman -S make), then proceed as usual with the installation.

Manual GIT Instal

Related Skills

View on GitHub
GitHub Stars3.7k
CategoryDevelopment
Updated1d ago
Forks829

Languages

C++

Security Score

85/100

Audited on Aug 7, 2026

No findings