Skip to content

xeodus/sniper

Repository files navigation

Sniper Bot

Build Status Rust License

This is an implementation of a trade bot designed for fast-paced environments like cryto exchanges. This is a low-latency and cross-platform bot written from scratch. It is leverages on robust market algorithms and statistical models to take high-frequency trades. The bot takes care of various market factors both in highly volatile and side ways moving markets. The advanced market-making strategies and risk-management protocols are designed to secure sustained growth and minimize market mishaps. The bot is being primarily developed for KuCoin and Binance crypto exchange but hope to deliver for other exchanges too. The bot is designed to be memory-safe, concurrent and asynchronous in nature, making it suitablefor high-frequency trading applications;

Sniper is still in its early stages of development, and the code is subject to change.

Features

  • Advanced Market-Making Algorithms
  • Risk Management Protocols
  • KuCoin and Binance API Integration
  • WebSocket Integration
  • Concurrency Module
  • Memory-Safety
  • Asynchronous Operations
  • Unit Tests

Pending Work

  • [] More efficient error handling
  • [] Seemless and blazing-fast WebSocket Integration
  • [] Model deployment

Setup Guide

  • Requirements:

  • Rust 1.70+

  • API key and Secret key from exchanges like Binance or KuCoin

  • Keep all of your critical credentials stored inside .env file for the time being and .gitignore it.

# .env

API_KEY="Your_KuCoin_API_key"
SECRET_KEY="Your_KuCoin_secret_key"

API_KEY="Your_Binance_API_key"
SECRET_KEY="Your_Binance_secret_key"
  • Ensure you have Rust installed. If not, install it from rustup.rs

Project setup:

    git clone https://github.com/xeodus/Sniper.git
    cd Sniper

To run unit tests:

    # Write your own tests
    cd src/Tests

    cargo test

Build it:

    cargo build --release
    cargo run

Cheers 🍻

Project is still under-development, everything is still in its trial phase.. Hope to deploy soon 🤞

About

A trade bot for crypto exchanges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages