Skip to content

Latest commit

 

History

History
250 lines (199 loc) · 16 KB

RELEASE_NOTES.md

File metadata and controls

250 lines (199 loc) · 16 KB


v0.12.7a17        released 2021-04-23

  • v0.12.7a17        merged 2021-04-22

  • v0.12.7a16        merged 2021-04-22

    • New plot type step for step/staircase lines in mpf.make_addplot() (Thank you @pankaj3009)
  • v0.12.7a15        merged 2021-04-22

  • v0.12.7a14        merged 2021-04-18
    v0.12.7a13        merged 2021-04-18

    • Allow os.PathLike (pathlib.Path) objects in savefig (Thank you Matt Stancliff)

v0.12.7a12        released 2021-04-09

  • v0.12.7a12        merged 2021-04-08
    • Fixed kwarg return_calculated_values
      • It was not returning all values for type='pnf' (point and figure).
      • See stackoverflow 66991998 for more information.
  • v0.12.7a11        merged 2021-03-26
    • Prior to this version, xlim kwarg accepted only float or int:
      • float as matplotlib date; (only when show_nontrading=True)
      • int or float as dataframe row number; (only when show_nontrading=False)
    • xlim kwarg now also accepts
      • date or datetime string
      • date or datetime object (datetime.datetime or pandas.Timestamp)

v0.12.7a10        released 2021-03-15


v0.12.7a7        released 2021-02-22


v0.12.7a5        released 2021-01-23

  • Add style_name kwarg to mpf.make_mpf_style()
  • Add vcdopcod kwarg to mpf.make_marketcolors() (volume color depends on price change-on-day).

v0.12.7a4        released 2020-12-22

  • fix timezone bug.

  • set kwarg tz_localize=False for legacy timezone behavior

  • v0.12.7a3        merged 2020-12-21

    • calculate volume exponent ( more efficient than extra call to draw())
    • support volume_exponent kwarg to allow user to manually choose volume exponent.
    • add version information to pytest logs
  • v0.12.7a2        merged 2020-10-21

  • v0.12.7a1        merged 2020-08-16

    • Support passing dict for kwarg title= (instead of just string) to allow modification of title font and all other kwargs available to matplotlib's Figure.suptitle(): The dict must include title=<string>. Then just add whatever Figure.suptitle() kwargs to the dict that is passed to mplfinance's kwarg title=. Thank you Teddy Rowan

v0.12.7a0        released 2020-08-09

Enhancements


v0.12.6a3        released 2020-06-28

  • accept lower case column names in dataframe (i.e. 'close' is the same as 'Close') (Issue #197)

v0.12.6a2        released 2020-06-28

  • tight_layout now supports adjusting Figure borders (padding) around plot. (Issue #196)

v0.12.6a1        released 2020-06-25

  • make_mpf_style() may set y_on_right=None: prevent crash by treating None the same as False. (Issue #190)

v0.12.6a0        released 2020-06-24

Enhancements

  • make_addplot() enhancements:
    • support type= ohlc and candle (issue #168)
    • support mav kwarg
    • support y_on_right kwarg
    • support ylim kwarg
    • expand impact of width and alpha kwargs (originally affected only make_addplot(data,type='bar') plots).
      • use alpha also on scatter plots.
      • use width and alpha also on line plots (issue #185)
  • improve default line-widths algorithm
  • rename set_ylim kwarg to ylim to be consistent with ylabel kwarg.
  • deprecate set_ylim_panelB (use ylim in make_addplot() instead).

Bug fixes

  • axisoff and tight_layout should be independent of each other (issue #180)
  • fix Spyder console block/hang when not inline call mpf.plot(). (issues #151 and #183)
  • fix incorrect linestyles character for dotted (issue #186)

v0.12.5a3        released 2020-06-16

Enhancements

  • improvements to width adjustment algorithm (issue #174)
  • automatic width adjustment now also adjusts mav lines widths. (issue #171)

v0.12.5a2        released 2020-06-08

Enhancements

  • Support setting ylabel in make_addplot() (Thank you Andy Sum for coding.)
  • Add saxbelow kwarg to set_axisbelow(), defaults to True so grid lines do not show through candles, etc.

Buf Fixes

  • fix tight_layout issue #156 (tight_layout not affecting Figure Title; Thank you Markus Schulze for pointing this out.)

v0.12.5a1        released 2020-06-07

Enhancements

  • Subplots: Create up to 10 "panels"
    • Can modify relative sizes of panels
    • Can modify which is "main" panel
    • Can modify which is "volume" panel
    • addplot can plot to any panel
    • MACD example
  • support bar charts in make_addplot (type= 'line', 'scatter', or 'bar')
  • make_addplot scatter now supports sequence of markers and sequence of colors
    (Thank you Elan Ernest for posting the sequence of markers solution here)
  • ability to custom format date/time labels ( datetime_format=) (Thank you Cam McLean)
  • ability to rotate date/time labels (xrotation=)
  • ability to turn axis off (axisoff=True) (Thank you Will Whitty for testing, code review, and contributing code changes)
  • support tight_layout=True
  • support fill_between=
  • new algorithm for adjustment of candle widths, line widths, volume widths, ohlc tick widths default change (Thank you Charles for your help).
    • ability to scale the algorithm (up or down)
    • ability to override the algorithm (i.e. set width and linewidth of volume bars, candles, ohlc bars. (iss num 81))
  • close plot when not needed to stay open default change
    • fixes "20 open plots" warning
    • removed code to close plots from regression tests: no longer needed
  • support NaNs in data to indicate missing data (also fix bug related to min/max and mav when NaNs in data) default change (Thank you Charles for your help)
    • allows display low liquidity
    • remove support for -1 meaning missing data. -1 is now considered valid data.
  • Travis check to ensure each Pull Request has a new version (Thank you Aaron Soellinger)
  • remove rcParams context: modifications made by mplfinance are now availabile after calling mplfinance. default change

Bug Fixes

  • fix bug displaying a single candle
  • fix bug "StatisticsError" when only a single data point
  • fix poor choice of default color for type=line chart default change
  • fix savefig Figure Facecolor bug
  • fix ohlc bars color in "blueskies" style default change


v0.12.4a0        released 2020-05-01



  • v0.12.3a2      released 2020-02-21

    • implement custom markers (issue#30)     (Thank you Amir Atashin @amiaty)
    • fix minor issue with chart type validator     (Thank you Amir Atashin @amiaty)
    • add internal functions: _bypass_kwarg_validation() and _kwarg_not_implemented()

  • v0.12.3a1      Released 2020-02-16

    • fix issue#28: math.log crash on zero in data
    • remove "Implemented" field from kwarg dicts
    • yahoo style show colors for ohlc bars

  • v0.12.3a0      Released 2020-02-12

    • kwarg block=False for non-blocking call to mpf.plot()
    • customize aspect ratio, figure title, y-labels
    • customize colors and other style aspects of plot
    • no_xgaps now defaults to True: use show_nontrading=True to set no_xgaps to false
    • secondary y-axis available to make_addplot()
    • bug fix for volume widths

  • v0.12.0a3      Released 2020-01-16

    • Increase mav limit from 3 to 7 different mavs

  • v0.12.0a2      Released 2020-01-14

    • Ability to save plot to a file (pdf, svg, png, jpg, ...)

  • v0.12.0a1      Released 2020-01-09

    • Ability to plot arbitrary user data (in addition to basic OHLCV data).
    • both line and scatter plots available.
    • optionally plot on either the "main" or "lower" (aka "volume") axis.

  • v0.11.x      Released 2019-12-20

    • Basic Plotting from Pandas DataFrame of OHLC bars and candlesticks.
    • optional display of volume
    • optional display of (up to 3 different) moving averages.
    • old API still available by importing from "mplfinance/original_flavor"

  • v0.10.x      Released 2016-09-08

    • Old mpl-finance API set up as its own package
      (i.e. removed from the matplotlib package).