chore: prepare v1.1.0 release
Update version numbers across Rust, Python, and documentation files to 1.1.0. Enhance the .gitignore to include macOS dSYM files and plans directory. Introduce new dependencies in the Rust core library and update the README to reflect recent performance benchmarks and backtesting engine capabilities. Add new artifacts to the benchmarks manifest and improve documentation for the backtesting engine API.
This commit is contained in:
@@ -22,12 +22,6 @@ pub fn avgprice<'py>(
|
||||
(lows.len(), "low"),
|
||||
(closes.len(), "close"),
|
||||
])?;
|
||||
let result: Vec<f64> = opens
|
||||
.iter()
|
||||
.zip(highs.iter())
|
||||
.zip(lows.iter())
|
||||
.zip(closes.iter())
|
||||
.map(|(((&o, &h), &l), &c)| (o + h + l + c) / 4.0)
|
||||
.collect();
|
||||
let result = ferro_ta_core::price_transform::avgprice(opens, highs, lows, closes);
|
||||
Ok(result.into_pyarray(py))
|
||||
}
|
||||
|
||||
@@ -13,10 +13,6 @@ pub fn medprice<'py>(
|
||||
let lows = low.as_slice()?;
|
||||
let n = highs.len();
|
||||
validation::validate_equal_length(&[(n, "high"), (lows.len(), "low")])?;
|
||||
let result: Vec<f64> = highs
|
||||
.iter()
|
||||
.zip(lows.iter())
|
||||
.map(|(&h, &l)| (h + l) / 2.0)
|
||||
.collect();
|
||||
let result = ferro_ta_core::price_transform::medprice(highs, lows);
|
||||
Ok(result.into_pyarray(py))
|
||||
}
|
||||
|
||||
@@ -19,11 +19,6 @@ pub fn typprice<'py>(
|
||||
(lows.len(), "low"),
|
||||
(closes.len(), "close"),
|
||||
])?;
|
||||
let result: Vec<f64> = highs
|
||||
.iter()
|
||||
.zip(lows.iter())
|
||||
.zip(closes.iter())
|
||||
.map(|((&h, &l), &c)| (h + l + c) / 3.0)
|
||||
.collect();
|
||||
let result = ferro_ta_core::price_transform::typprice(highs, lows, closes);
|
||||
Ok(result.into_pyarray(py))
|
||||
}
|
||||
|
||||
@@ -19,11 +19,6 @@ pub fn wclprice<'py>(
|
||||
(lows.len(), "low"),
|
||||
(closes.len(), "close"),
|
||||
])?;
|
||||
let result: Vec<f64> = highs
|
||||
.iter()
|
||||
.zip(lows.iter())
|
||||
.zip(closes.iter())
|
||||
.map(|((&h, &l), &c)| (h + l + c * 2.0) / 4.0)
|
||||
.collect();
|
||||
let result = ferro_ta_core::price_transform::wclprice(highs, lows, closes);
|
||||
Ok(result.into_pyarray(py))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user