Crypto Bot

crypto-bot

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

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"
    }

How the data is accessed:

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

# reading historical data
REDIS> JSON.GET historical-<tradingsymbol> '$'

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

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
what-is-devops?-how-do-i-get-started?

What is DevOps? How do I get started?

Next Post
how-to-store-images-on-github-?

How to Store Images on GitHub ?

Related Posts
役員変更登記

役員変更登記

2025-05-08 申請用総合ソフトで行う アカウントは個人で OK(法人用は特にない) 登記申請書(法人等用)を使う 参考 https://www.touki-kyoutaku-online.moj.go.jp/toukinet/taiken/taiken_zeninjuunin.html https://houmukyoku.moj.go.jp/homu/shogyo_online03.html 法人番号で検索した住所のハイフンが外字扱いだったので、直接入力に切り替えて入力した 電話がかかってきて以下のような文言修正を要求された 添付ファイルに電子署名が必要 議事録の「第 2 号議案:代表理事の重任について」を「第 2 号議案:理事及び代表理事の重任について」 同様に「任期満了に伴い、鈴木健志を理事及び代表理事に再任することを決議した。」 「なお席上就任を承諾した。」の文言を追加。同意書なしのため必要らしい。…
Read More