Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe committed Dec 23, 2023
1 parent d198e04 commit 604ab24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tclf/classical_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ def _depth(self, subset: str) -> npt.NDArray:
Returns:
npt.NDArray: result of depth rule. Can be np.NaN.
"""
# TODO: Problematic: subset might be used for estimating mid spread, but
# ask_size_best etc. does not exist!
at_mid = np.isclose(self._mid(subset), self.X_["trade_price"], atol=1e-4)

return np.where(
Expand Down

0 comments on commit 604ab24

Please sign in to comment.