[package]
edition = "2021"
rust-version = "1.82"
name = "rsta"
version = "0.1.0"
authors = ["LSH <github@lsh.tech>"]
build = false
exclude = [
"tests/data/btc_usd_daily.csv",
"tests/data/golden_*.csv",
"scripts/",
"pr_extractor.sh",
"pr_info/",
"docs/roadmap/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Technical analysis indicators, streaming signals, and a single-asset backtesting engine for Rust"
documentation = "https://docs.rs/rsta"
readme = "README.md"
keywords = [
"finance",
"trading",
"indicators",
"backtest",
"ta",
]
categories = [
"finance",
"algorithms",
]
license = "MIT"
repository = "https://github.com/Lsh0x/rsta"
[features]
csv = [
"dep:csv",
"dep:serde",
"dep:chrono",
]
default = []
[lib]
name = "rsta"
path = "src/lib.rs"
[[example]]
name = "csv_to_indicators"
path = "examples/csv_to_indicators.rs"
required-features = ["csv"]
[[example]]
name = "realtime_streaming"
path = "examples/realtime_streaming.rs"
[[example]]
name = "sma_crossover_backtest"
path = "examples/sma_crossover_backtest.rs"
[[test]]
name = "golden_indicators"
path = "tests/golden_indicators.rs"
[[bench]]
name = "backtest"
path = "benches/backtest.rs"
harness = false
[[bench]]
name = "indicators"
path = "benches/indicators.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.csv]
version = "1.3"
optional = true
[dependencies.ndarray]
version = "0.15"
[dependencies.num-traits]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.statrs]
version = "0.16"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false