Giter Site home page Giter Site logo

teknosgpt / rader-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from subaquatic-pierre/raderbot

1.0 0.0 0.0 55 KB

Raderbot is a Rust-based trading bot designed to interact with the BingX WebSocket API for market data analysis and trading operations.

License: Other

Shell 0.19% Rust 92.44% CSS 0.02% Makefile 0.06% HTML 7.28%

rader-bot's Introduction

Raderbot

Table of Contents

Overview

Raderbot is a Rust-based trading bot designed to interact with the BingX WebSocket API for market data analysis and trading operations. It utilizes the Actix Web framework for building a WebSocket server and handling incoming messages. The bot connects to the BingX WebSocket API to receive real-time market data updates, including ticker information. It performs various operations on the received data, such as calculating time differences, generating unique identifiers, parsing JSON responses, and handling errors using custom error types. The bot also includes functionalities for file operations, such as creating and appending data to files. It leverages external crates like reqwest for making HTTP requests and tungstenite for WebSocket communication.

Features

  • Connects to the BingX WebSocket API to receive real-time market data updates.
  • Calculates time differences between timestamps.
  • Generates unique identifiers in a specific format.
  • Parses JSON responses received from API calls.
  • Handles errors using custom error types.
  • Performs file operations, including creating and appending data to files.
  • Utilizes external crates like reqwest and tungstenite.

Roadmap

The project is currently in the development phase.

Development

Prerequisites

Make sure you have the following tools installed on your system:

  • Rust: The programming language used for the project.
  • cargo-watch: Used for automatically restarting the server during development.
  • make: Used for managing development tasks.

Getting Started

  1. Clone the repository:

    git clone https://github.com/subaquatic-pierre/rader-bot.git
    
  2. Navigate to the project directory:

cd rader-bot
  1. Build and run the project:
make watch

This command will start the Actix server and automatically restart it when code changes are detected.

Cleaning Up

To clean up build artifacts, run:

make clean

Contributing

We welcome contributions from the community! If you would like to contribute to the project, please follow these guidelines:

  • Fork the repository.
  • Create a new branch: git checkout -b my-branch.
  • Make your changes and commit them: git commit -am 'Add new feature'.
  • Push to the branch: git push origin my-branch.
  • Submit a pull request.

License

This project is licensed under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.