Rust Client for trading on https://power.trade crypto exchange
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
-
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.
-
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)"
-
Copy the sample env file(".env.example") to create a file for Test environment
cp .env.example .env.test
-
Open the new .env file (".env.test") and update the settings for Test API env
-
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
-
Review console output and log files (see 'app.log' in same folder) to view client activity