2 releases
0.1.1 | Jul 25, 2024 |
---|---|
0.1.0 | Jul 25, 2024 |
#6 in #tdx
15KB
188 lines
Core library for dumping TDX .day files, with optional feature to calculate dif, dea, macd and so on.
Usage
Default is raw data only
let path = "/path/to/tdx/xxx.day";
let daily = DayLine::new(path);
With "macd" feature
, you can calculate dif, dea, macd. with default parameters.
tdx_dump_core = { version = "0.1", features = ["macd"] }
let path = "/path/to/tdx/xxx.day";
let daily = DayLine::new(path).with_macd();
Dependencies
~0.4–1MB
~23K SLoC