Devendra21 commited on
Commit
a57c164
·
verified ·
1 Parent(s): e969edd

Update utils/calculate_technical_indicators.py

Browse files
utils/calculate_technical_indicators.py CHANGED
@@ -1,7 +1,15 @@
1
  def calculate_technical_indicators(data):
2
- # Dummy indicators for testing
 
 
 
 
 
 
 
 
3
  return {
4
  "RSI": 50,
5
  "MACD": 0.05,
6
- "Bollinger_Bands": (1.15, 1.10, 1.20),
7
  }
 
1
  def calculate_technical_indicators(data):
2
+ """
3
+ Calculate dummy technical indicators for the given forex data.
4
+
5
+ Args:
6
+ data (pd.DataFrame): DataFrame containing forex data with Close prices.
7
+
8
+ Returns:
9
+ dict: Dictionary containing RSI, MACD, and Bollinger Bands.
10
+ """
11
  return {
12
  "RSI": 50,
13
  "MACD": 0.05,
14
+ "Bollinger_Bands": (1.15, 1.10, 1.20), # Upper, Middle, Lower bands
15
  }