Charting Stocks/Forex for Technical Analysis Part 12 - Customizing Matplotlib Chart

preview_player
Показать описание
This is the twelfth video in the series for stock price analysis, showing you how to highly customize your charts and graphs within matplotlib. The purpose of the videos in this series is to teach you how to program your own charting and analysis of stocks or Forex.

This is beneficial for you if you plan to do any sort of algorithmic, high-frequency, or any sort of automated trading.

Рекомендации по теме
Комментарии
Автор

Are you running this in IDLE? Are you getting any errors?

Try saving with JUST the file name. It should save in the directory of the script.

Are you placing it in the same spot in the script as I am as well?


sentdex
Автор

Hi, Harrison! Thanks for this great series! I try to change the facecolor just as you did with fig = on my Mac OSX 10.10.2,
it did not work, why it could be?

yachiwang
Автор

These are great videos, but when you're completely zoomed out, the dates on the x-axis aren't aligned with their corresponding y values. How could we fix that?

briancp
Автор

Hi, How can the candlestick2_ohlc chart? Since i view that chart for years, really need that kind style. Thanks!

Hanbo
Автор

if you're getting an error you due to matplotlib.finance getting removed soon, but don't know what to do(error message instructions are unclear), you should:


2) Move *mpl_finance.py*(you don't need the other files) to site packages directory, which probably is

3) Now you can use *from matplotlib.mpl_finance import _candlestick*. Take note of the syntax change, you need the underscore before "candlestick" now.

TipsyRiver
Автор

Harrison try
matplotlib.rc('axes', edgecolor='#5998ff')
This changes the global colors of the spines

dfrusdn
Автор

hi : )
fig.savefig('example.png', facecolor= fig.get_facecolor()) #not working

why it could be ? when I am closing the chart it does not saving the file . thanks

Barcelona