#fix #trading #api #ctrade

ctrader-fix

A rust implementation of the cTrader FIX API

21 releases

new 0.5.2 Apr 19, 2024
0.5.1 Apr 3, 2024
0.4.11 Nov 3, 2023
0.4.10 Sep 19, 2023
0.3.10 May 16, 2023

#22 in Finance

Download history 6/week @ 2024-02-19 6/week @ 2024-02-26 3/week @ 2024-03-11 200/week @ 2024-04-01 26/week @ 2024-04-08 140/week @ 2024-04-15

366 downloads per month
Used in quant-suite

MIT license

125KB
3K SLoC

cTrader FIX API in Rust

This repository is an unofficial Rust implementation of the FIX API in Rust for the cTrader trading platform

Built using the async runtime library, it provides an asynchronous and simple interface for interacting with the cTrader platform through the Financial Information eXchange (FIX) protocol.

This project is now ready for use. However, please note that it is still under active development and bugs may exist.

Cargo Features

This crate allows you to use tokio runtime featured in async-std by specifying features in your Cargo.toml. By default, it uses async-std with the attributes feature.

To use the crate with the default configuration, add the following line to your Cargo.toml:

ctrader-fix = "0.5.2"

To use a specific Tokio configuration, specify the feature like this:

ctrader-fix = { version = "0.5.2", features = ["tokio1"] }

Available Features

  • default: Uses async-std with the unstable feature.
  • tokio1: Uses async-std with the unstable and tokio1 features.
  • tokio02: Uses async-std with the unstable and tokio02 features.
  • tokio03: Uses async-std with the unstable and tokio03 features.

Please note that you should only enable one of these features at a time.

Progress Records

For details on the progress achieved, check the PROGRESS.md file.

  • quant-suite link: Aimed at creating tools for auto-trading, back-testing, and market analysis.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~7–18MB
~241K SLoC