Skip to content

Commit 3982e87

Browse files
move older indicator examples to indicator directory
1 parent 9a1ccaa commit 3982e87

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

examples/macd.py renamed to examples/indicators/macd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import matplotlib.dates as mdates
55

6-
idf = pd.read_csv('data/SPY_20110701_20120630_Bollinger.csv',index_col=0,parse_dates=True)
6+
idf = pd.read_csv('../data/SPY_20110701_20120630_Bollinger.csv',index_col=0,parse_dates=True)
77
df = idf.loc['2011-07-01':'2011-12-30',:]
88

99

examples/mpf_rsi_demo.py renamed to examples/indicators/mpf_rsi_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pandas as pd
22
import mplfinance as mpf
33

4-
infile = 'data/yahoofinance-SPY-20200901-20210113.csv'
4+
infile = '../data/yahoofinance-SPY-20200901-20210113.csv'
55

66
df = pd.read_csv(infile, index_col=0, parse_dates=True).iloc[0:60]
77

File renamed without changes.

0 commit comments

Comments
 (0)