Skip to content

Commit

Permalink
docs: correct the typo in the docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaz001 committed Aug 8, 2024
1 parent 1a33fb5 commit 1955810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py-hftbacktest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ impl BacktestAsset {
slf
}

/// Sets the lower bound price of the `ROIVectorMarketDepth <https://docs.rs/hftbacktest/latest/hftbacktest/depth/struct.ROIVectorMarketDepth.html>`_.
/// Sets the upper bound price of the `ROIVectorMarketDepth <https://docs.rs/hftbacktest/latest/hftbacktest/depth/struct.ROIVectorMarketDepth.html>`_.
/// Only valid if `ROIVectorMarketDepthBacktest` is built.
///
/// Args:
/// roi_lb: the lower bound price of the range of interest.
/// roi_ub: the upper bound price of the range of interest.
pub fn roi_ub(mut slf: PyRefMut<Self>, roi_ub: f64) -> PyRefMut<Self> {
slf.roi_ub = roi_ub;
slf
Expand Down

0 comments on commit 1955810

Please sign in to comment.