valeratrades / discretionary_engine

LaTeX of trading
Apache License 2.0
0 stars 1 forks source link

Discretionary Engine

Minimum Supported Rust Version crates.io docs.rs build status Lines Of Code

Places and follows a position from a definition of what the target position is

Usage

Example query:

discretionary_engine new --size=-0.1 --symbol=ADAUSDT '-f=sar:t5m:s0.07:i0.02:m0.15' '-f=tpsl:t0.4884:s0.5190'

This would open a new position on ADA, where:

Coverage

Currently only working with Binance.

Configuration

Config is read from ${HOME}/.config/discretionary_engine.toml by default, but can also be specified via --config cli argument.

An example config can be found in ./examples/config.toml

Current assumptions


This repository follows my best practices.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.