Skip to content

laisee/client-rust-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

client-rust-fix

Rust Client for trading on https://power.trade crypto exchange

Rust CI Clippy Verify dependencies License: MITMSRV

Rust client for power.trade Fix protocol. Implements authentication and basic order management(add single order, cancel single order).

See list of issues for the planned set of enhancements and features.

See here for Power.Trade Single Leg Order Fix message specification(Fix MsgType='D')

See here for Power.Trade Drop Copy Fix message specification(Fix MsgType='8')

Power.Trade API home page can be found here

Getting Started

  1. Install Rust on device where client will be running.

    See https://www.rust-lang.org/tools/install for instructions on installation using Rustup.

    See https://forge.rust-lang.org/infra/other-installation-methods.html for other installation methods.

  2. Check that Rustup has installed and configured 1.80 as the default version by typing following command in a console/terminal window

rustc --version
the version displayed should be: "rustc 1.80.0 (default)"
  1. Copy the sample env file(".env.example") to create a file for Test environment

    cp .env.example .env.test
    
  2. Open the new .env file (".env.test") and update the settings for Test API env

  3. Save the file and run client on Test environment.

    n.b. Rust client runtime environment is set on command line as a parameter for the --env flag with value of 'development', 'test', 'production'

    cargo run -- --env test
    
  4. Review console output and log files (see 'app.log' in same folder) to view client activity

About

Fix Client for power.trade written in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages