Skip to content

Commit 7691681

Browse files
TexasCodingclaude
andcommitted
refactor: Remove deprecated code and clean up pre-v3.1 remnants
- Remove deprecated sync methods (get_latest_bar_sync) - Delete debug example files (debug_fvg_indicator.py, debug_orderblock_indicator.py) - Update documentation examples to use async-only patterns - Clean up placeholder comments in indicators module - Fix trailing whitespace issues - Maintain backward compatibility for deprecated callbacks per v3.x policy This cleanup improves code consistency with the v3.1+ async-only architecture while preserving backward compatibility where required. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 6fa2946 commit 7691681

File tree

7 files changed

+16
-433
lines changed

7 files changed

+16
-433
lines changed

examples/debug_fvg_indicator.py

Lines changed: 0 additions & 256 deletions
This file was deleted.

examples/debug_orderblock_indicator.py

Lines changed: 0 additions & 113 deletions
This file was deleted.

src/project_x_py/indicators/candlestick.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,6 @@ def calculate(
313313
)
314314

315315

316-
# Add similar classes for BearishEngulfing, MorningStar, etc.
317-
318-
# For brevity, stopping here. You can add more similarly.
319-
320316
# Convenience functions
321317

322318

@@ -334,6 +330,3 @@ def calculate_shootingstar(data: pl.DataFrame, **kwargs: Any) -> pl.DataFrame:
334330

335331
def calculate_bullishengulfing(data: pl.DataFrame, **kwargs: Any) -> pl.DataFrame:
336332
return BullishEngulfing().calculate(data, **kwargs)
337-
338-
339-
# Add more convenience functions as classes are added

0 commit comments

Comments
 (0)