Commit Graph

15 Commits

Author SHA1 Message Date
Kernc
41b1ddfb68 BUG: Fix tooltip Date field formatting with Bokeh 2.0.0 2020-03-10 02:39:25 +01:00
Kernc
56b315037f BUG: Fix AttributeError, unexpected 'callback' to Range1d
Callback removed in Bokeh 2.0.0.
Fixes https://github.com/kernc/backtesting.py/issues/48
2020-03-09 18:24:33 +01:00
Kernc
73f893145e BUG: Compute drawdown in a vectorized manner
Fixes https://github.com/kernc/backtesting.py/issues/46
2020-03-04 04:27:40 +01:00
Kernc
70cd9b3119 BUG: Fix plot saving to filename regression since ab0cbe537e
The plot would save to filename even when run in notebook. Argh.

Refs: https://github.com/kernc/backtesting.py/issues/45
2020-02-25 16:40:11 +01:00
Kernc
ab0cbe537e BUG: Fix plot not saved as specified filename if run within notebook
Fixes https://github.com/kernc/backtesting.py/issues/45
2020-02-24 14:26:52 +01:00
Kernc
4b4b315e61 ENH: Show number of trades on OHLC plot legend 2020-02-22 03:03:28 +01:00
Kernc
bae9340aae REF: Reorganize plotting of indicators
BUG: Fix incorrect plot when multiple indicators share the
same name.

E.g. both these names are 'λ' yet both plots contained values
of the latter of the two.

    self.I(lambda: self.data.Open, overlay=False)
    self.I(lambda: self.data.High, overlay=False)
2020-01-11 18:54:05 +01:00
Kernc
7991596f0e ENH: Also show indicator centerline if mean around 0.5 2020-01-11 14:37:31 +01:00
Kernc
f415e7a591 REF: Replace bokeh legend_label parameter to avoid deprecation warning 2020-01-03 01:49:18 +01:00
Kernc
5bcaafd6b3 ENH: Make plot span 100% of browser width by default 2019-09-23 03:56:21 +02:00
Kernc
d4fb639ca7 MNT: shut flake8 for bokeh.Color.l variable 2019-08-02 02:18:06 +02:00
Kernc
f84ee3747c REF: Darken trades indicator lines on OHLC plot 2019-07-07 22:25:57 +02:00
Kernc
b0d23abf83 ENH: Add scatter plot indicator style 2019-03-08 03:06:15 +01:00
Kernc
fac6dde5d0 BUG: Fix iterable color= param for non-overlay indicators 2019-03-07 19:09:09 +01:00
Kernc
b1066f16fb Add initial Backtesting.py (squashed dev branch) 2019-01-07 14:11:40 +01:00