@@ -17,7 +17,7 @@ Calculates Simple Moving Average.
1717
1818** Example:**
1919``` python
20- from src .features.technical import sma
20+ from quanttradeai .features.technical import sma
2121
2222# Calculate 20-period SMA
2323sma_20 = sma(df[' Close' ], 20 )
@@ -36,7 +36,7 @@ Calculates Exponential Moving Average.
3636
3737** Example:**
3838``` python
39- from src .features.technical import ema
39+ from quanttradeai .features.technical import ema
4040
4141# Calculate 20-period EMA
4242ema_20 = ema(df[' Close' ], 20 )
@@ -55,7 +55,7 @@ Calculates Relative Strength Index.
5555
5656** Example:**
5757``` python
58- from src .features.technical import rsi
58+ from quanttradeai .features.technical import rsi
5959
6060# Calculate 14-period RSI
6161rsi_14 = rsi(df[' Close' ], 14 )
@@ -76,7 +76,7 @@ Calculates MACD indicator.
7676
7777** Example:**
7878``` python
79- from src .features.technical import macd
79+ from quanttradeai .features.technical import macd
8080
8181# Calculate MACD
8282macd_df = macd(df[' Close' ])
@@ -101,7 +101,7 @@ Calculates Stochastic Oscillator.
101101
102102** Example:**
103103``` python
104- from src .features.technical import stochastic
104+ from quanttradeai .features.technical import stochastic
105105
106106# Calculate Stochastic Oscillator
107107stoch_df = stochastic(df[' High' ], df[' Low' ], df[' Close' ])
@@ -127,7 +127,7 @@ Computes a simple momentum score from multiple indicators.
127127
128128** Example:**
129129``` python
130- from src .features.custom import momentum_score
130+ from quanttradeai .features.custom import momentum_score
131131
132132# Calculate momentum score
133133score = momentum_score(df[' Close' ], df[' sma_20' ], df[' rsi' ], df[' macd' ], df[' macd_signal' ])
@@ -149,7 +149,7 @@ Flags days when price breaks above the previous high plus a threshold.
149149
150150** Example:**
151151``` python
152- from src .features.custom import volatility_breakout
152+ from quanttradeai .features.custom import volatility_breakout
153153
154154# Calculate volatility breakout signals
155155breakout = volatility_breakout(df[' High' ], df[' Low' ], df[' Close' ])
@@ -159,7 +159,7 @@ breakout = volatility_breakout(df['High'], df['Low'], df['Close'])
159159
160160### Moving Averages
161161``` python
162- from src .features.technical import sma, ema
162+ from quanttradeai .features.technical import sma, ema
163163
164164# Generate multiple moving averages
165165periods = [5 , 10 , 20 , 50 , 200 ]
@@ -170,7 +170,7 @@ for period in periods:
170170
171171### Momentum Indicators
172172``` python
173- from src .features.technical import rsi, macd, stochastic
173+ from quanttradeai .features.technical import rsi, macd, stochastic
174174
175175# Generate momentum indicators
176176df[' rsi' ] = rsi(df[' Close' ], 14 )
@@ -185,7 +185,7 @@ df['stoch_d'] = stoch_df['stoch_d']
185185
186186### Custom Features
187187``` python
188- from src .features.custom import momentum_score, volatility_breakout
188+ from quanttradeai .features.custom import momentum_score, volatility_breakout
189189
190190# Generate custom features
191191df[' momentum_score' ] = momentum_score(
0 commit comments