[package]
edition = "2024"
name = "czsc-core"
version = "1.0.0"
authors = ["zengbin93 <zeng_bin8888@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core analyzer of the czsc framework (most users should depend on the `czsc` facade instead): fractal (FX), stroke (BI), pivot (ZS), CZSC analyzer."
homepage = "https://github.com/waditu/czsc"
documentation = "https://docs.rs/czsc-core"
readme = "README.md"
keywords = [
"czsc",
"quant",
"technical-analysis",
"trading",
"finance",
]
categories = [
"finance",
"mathematics",
"science",
]
license = "MIT"
repository = "https://github.com/waditu/czsc"
resolver = "2"
[features]
python = [
"pyo3",
"pyo3-stub-gen",
"parking_lot",
]
[lib]
name = "czsc_core"
path = "src/lib.rs"
[[test]]
name = "test_analyze_error"
path = "tests/test_analyze_error.rs"
[[test]]
name = "test_analyze_utils"
path = "tests/test_analyze_utils.rs"
[[test]]
name = "test_bi"
path = "tests/test_bi.rs"
[[test]]
name = "test_czsc_analyzer"
path = "tests/test_czsc_analyzer.rs"
[[test]]
name = "test_error_chain"
path = "tests/test_error_chain.rs"
[[test]]
name = "test_event"
path = "tests/test_event.rs"
[[test]]
name = "test_freq"
path = "tests/test_freq.rs"
[[test]]
name = "test_fx"
path = "tests/test_fx.rs"
[[test]]
name = "test_mark_direction"
path = "tests/test_mark_direction.rs"
[[test]]
name = "test_market"
path = "tests/test_market.rs"
[[test]]
name = "test_object_error"
path = "tests/test_object_error.rs"
[[test]]
name = "test_operate"
path = "tests/test_operate.rs"
[[test]]
name = "test_position"
path = "tests/test_position.rs"
[[test]]
name = "test_raw_bar"
path = "tests/test_raw_bar.rs"
[[test]]
name = "test_signal"
path = "tests/test_signal.rs"
[[test]]
name = "test_state"
path = "tests/test_state.rs"
[[test]]
name = "test_utils_common"
path = "tests/test_utils_common.rs"
[[test]]
name = "test_zs"
path = "tests/test_zs.rs"
[[bench]]
name = "czsc_analyze_bench"
path = "benches/czsc_analyze_bench.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
[dependencies.czsc-derive]
version = "1.0.0"
[dependencies.derive_builder]
version = "0.20"
[dependencies.hex]
version = "0.4"
[dependencies.log]
version = "0.4"
[dependencies.md5]
version = "0.8"
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.polars]
version = "0.42.0"
features = [
"lazy",
"serde",
"strings",
"concat_str",
"pivot",
"is_in",
"cum_agg",
"abs",
"ipc",
"round_series",
"dtype-datetime",
"temporal",
"parquet",
"timezones",
"fmt",
"partition_by",
"lazy",
"ipc",
]
[dependencies.pyo3]
version = "0.25"
features = ["chrono"]
optional = true
[dependencies.pyo3-stub-gen]
version = "0.12"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.strum]
version = "0.26"
[dependencies.strum_macros]
version = "0.26"
[dependencies.thiserror]
version = "2"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.thiserror]
version = "2"