Skip to content

Commit d60e96d

Browse files
Merge pull request #87 from coffincw/master
Fix Price Movement Plots and other small adjustments
2 parents 0da835c + 0f4fc38 commit d60e96d

File tree

5 files changed

+298
-136
lines changed

5 files changed

+298
-136
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,17 @@ mpf.plot(daily,type='line')
203203

204204

205205
```python
206-
mpf.plot(daily,type='renko')
206+
year = pd.read_csv('examples/data/SPY_20110701_20120630_Bollinger.csv',index_col=0,parse_dates=True)
207+
year.index.name = 'Date'
208+
mpf.plot(year,type='renko')
207209
```
208210

209211

210212
![png](https://raw.githubusercontent.com/matplotlib/mplfinance/master/readme_files/readme_8_1.png)
211213

212214

213215
```python
214-
mpf.plot(daily,type='pnf')
216+
mpf.plot(year,type='pnf')
215217
```
216218

217219

examples/price-movement_plots.ipynb

Lines changed: 78 additions & 56 deletions
Large diffs are not rendered by default.

readme_files/readme_5_1.png

19.4 KB
Loading

readme_files/readme_8_1.png

7.26 KB
Loading

0 commit comments

Comments
 (0)