Skip to content

Commit

Permalink
move older indicator examples to indicator directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGoldfarb committed Jun 13, 2023
1 parent 9a1ccaa commit 3982e87
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/macd.py → examples/indicators/macd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,7 @@

import matplotlib.dates as mdates

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


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 1,7 @@
import pandas as pd
import mplfinance as mpf

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

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

Expand Down
File renamed without changes.

0 comments on commit 3982e87

Please sign in to comment.