Skip to content

This repository contains a simple low-latency trading engine implemented in Rust.

Notifications You must be signed in to change notification settings

Rustix69/RsTradeEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Low Latency Trade Engine in Rust

This repository contains a low-latency trade engine implemented in Rust. The engine supports limit and market orders and has been optimized for performance.

Features

  • Limit Orders: Place orders at a specific price level.
  • Market Orders: Execute orders at the best available price.
  • High Performance: Designed for low latency.
  • Testable: Includes configuration for running tests.

Installation and Usage

Prerequisites

  • Ensure you have Rust installed on your system. You can install Rust using rustup.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Install Git if not already installed.

Clone the Repository

To clone this repository, use the following command:

git clone <REPO_URL>

Build the Project

Navigate to the cloned directory and build the project using cargo:

cd low_latency_trade_engine
cargo build --release

Run Tests

To ensure the engine is functioning correctly, run the tests:

cargo test

Example Usage

The trade engine code can be tested by running the provided tests under #[cfg(test)]. To view test cases and examples, check the src directory.


About

This repository contains a simple low-latency trading engine implemented in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published