{"repo":"furechan/mplchart","free":true,"listed":false,"github":"https://github.com/furechan/mplchart","clone":"git clone https://github.com/furechan/mplchart.git","description":"Classic Stock Charts in Python","language":"Python","stars":60,"topics":["candlesticks","charting","finance","matplotlib","technical-analysis","python","indicators","pandas","polars","stock-charts"],"license":"MIT","category":"trading","readme_excerpt":"Classic stock charts in Python Create classic technical analysis stock charts in Python with minimal code. The library is built around matplotlib and supports both pandas and polars DataFrames. Charts can be defined using a declarative interface, based on a set of drawing primitives like Candlesticks , Volume and technical indicators like SMA , EMA , RSI , ROC , MACD , etc ... 📖 Documentation : tutorials, API reference and a chart gallery at furechan.github.io/mplchart [!NOTE] This project is experimental and the interface can change. For a related project with a mature api you may want to look into mplfinance. Typical usage Styles Charts are styled via the style= option — a builtin style, any matplotlib stylesheet name, or a custom style dict. Styles are total: ambient matplotlib settings never affect a chart. Conventions Prices data is expected to be a dataframe with columns open , high , low , close , volume in lower case and a datetime column named date or datetime (or a datetime index for pandas). If your data has column names in different capitalization (like data from yfinance) use the normalize option Chart(..., normalize=True) or call normalize prices explicitely to normalize the dataframe. Drawing primitives The library contains drawing primitives that can be used like an indicator in the plot api. Primitives are classes and must be instantiated as objects before being used with the plot api. The main drawing primitives are : - Candlesticks for candlestick plots - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/furechan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/furechan/mplchart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}