Crypto Bot

Crypto Bot

Publish Date: Aug 28 '22
7 4

Overview of My Submission

Crypto Bot is a collection of micro services which uses algorithmic trading to generate the BUY / SELL Signals based on the data received from the crypto market (Binance API)

the bot uses the pubsub to publish the live crypto prices to the strategy micro service and redis json to store the orders data and the micro services communicate via gRPC with each other

custom strategies can be writen under the strategy-service/strategies

an example ema.py (Exponential Moving Average) strategy is given in the repo

Submission Category: Microservice

Language Used: Python, Protobuf

Link to Code

Crypto Bot

crypto bot uses algorithmic trading strategies to generate buy and sell signals for trading the crypto currency

image description

How it works

How the data is stored:

    //historical data

    {
        "open": float,
        "high": float,
        "low": float,
        "close": float,
        "volume": float
    }

    // live data

    {
        'open': float,
        'high': float,
        'low': float,
        'close': float,
        'volume': float,
        'is_interval': boolean,
        "symbol": string, // btcusdt
        "interval": string // "5m", "1m", "1h", "1d"
    }
Enter fullscreen mode Exit fullscreen mode

How the data is accessed:

# subscribing to the live data service
REDIS> SUBSCRIBE <channel-name>

# reading historical data
REDIS> JSON.GET historical-<tradingsymbol> '$'
Enter fullscreen mode Exit fullscreen mode

How to run it locally?

Prerequisites

  1. python
  2. gRPC
  3. Redis Stack Server
  4. Docker
  5. Binance API Key and Secret
  6. Pushbullet Access Token

Local installation

to start the…

Additional Resources / Info

Image description

Collaborators

@rohit20001221


Comments 4 total

  • TheWincert
    TheWincertSep 24, 2022

    Before you start this business, you should understand that a realtor's salary is very unstable. It all depends on your ability to communicate and convince people. Before you start your business, you need to work for some time in a real estate agency and acquire sales skills. It is necessary to start a real estate agency with personnel selection. You may also want to pay attention to the scalper pro. The basis of staff is managers and agents. Real estate sales involve the possession of information about the objects and a range of services: The collection and proper execution of documents Knowledge of the legal intricacies Control of seller and buyer Other mutual settlements

  • joy james
    joy jamesNov 24, 2024

    As a newbie to cryptocurrency, I lost a lot of money. I would like to express my gratitude to Expert Bernie Doran for their exceptional assistance in recovering my funds from a forex broker. Their expertise and professionalism in navigating the complex process were truly commendable. Through their guidance and relentless efforts, I was able to successfully retrieve my funds of $150,000, providing me with much-needed relief. I highly recommend him on Gmail ( Berniedoransignals (@) gmail (.) com) to anyone facing similar challenges, as their dedication and commitment to helping clients are truly impressive. Thank you, Bernie doran, for your invaluable support in resolving this matter. i also invested $5000 with his guidance and got a good ROI profit using his signals and strategies

  • annie lopez
    annie lopezMay 5, 2025

    I recently tried converting some of my XMR and was really impressed with how smooth the whole Monero to Ethereum swap went. It's awesome having the flexibility to move between a privacy-focused coin like Monero and a widely used platform like Ethereum, especially when you're exploring different DeFi options or just diversifying your crypto portfolio. Definitely worth checking out if you're looking to balance privacy with broader utility!

  • nidoy
    nidoyMay 13, 2025

    As a crypto newbie in Ottawa, googling capstoneinternational.net/ what is capstone project led me to the perfect learning platform. Their English courses with Canadian examples helped me go from "what's a blockchain?" to executing complex trades in 6 months. I started with $500 CAD in their practice environment before going live. Their mobile app lets me trade during my government job lunch breaks. Now I'm earning 7% on my ETH stack through their staking program - all while staying fully compliant with Canadian regulations.

Add comment