How joshyattridge/smart-money-concepts works
Smart Money Concepts is a Python library that calculates ICT-style market indicators from OHLC(V) DataFrames. Users import the smc API and call indicators to receive annotated results; the README documents passing swing-high/low results into structure, order-block, liquidity, and retracement calculations. Indicator implementations and input validation are in smartmoneyconcepts/smc.py; unsampled internal details are not inferred.
Main entry points: smc.py SMC interface · __init__.py Package export
Components 12
Library API
- Package export
smartmoneyconcepts/__init__.py - SMC interface
smartmoneyconcepts/smc.py - Input validation
smartmoneyconcepts/smc.py
Market Structure
- Fair value gaps
smartmoneyconcepts/smc.py - Swing highs/lows
smartmoneyconcepts/smc.py - BOS / CHoCH
smartmoneyconcepts/smc.py - Order blocks
smartmoneyconcepts/smc.py - Liquidity levels
smartmoneyconcepts/smc.py - Retracements
smartmoneyconcepts/smc.py
Market Context
- Previous highs/lows
smartmoneyconcepts/smc.py - Trading sessions
smartmoneyconcepts/smc.py
Other components
- Data analyst
Connections 16
- Data analyst → Package export: imports
- Package export → SMC interface: exports
- Data analyst → SMC interface: calls with OHLC(V)
- SMC interface → Input validation: validates inputs
- SMC interface → Fair value gaps: calls
- SMC interface → Swing highs/lows: calls
- SMC interface → BOS / CHoCH: calls
- SMC interface → Order blocks: calls
- SMC interface → Liquidity levels: calls
- SMC interface → Retracements: calls
- SMC interface → Previous highs/lows: calls
- SMC interface → Trading sessions: calls
- Swing highs/lows → BOS / CHoCH: supplies swing data
- Swing highs/lows → Order blocks: supplies swing data
- Swing highs/lows → Liquidity levels: supplies swing data
- Swing highs/lows → Retracements: supplies swing data