- Fixed bug in
stats.consecutive_wins()
andstats.consecutive_losses()
- Fixed seaborn's depreated
distplot
warning - Improved annualization by passing
trading_year_days
- Added option to pass the number of days per year in reports, so you can now use
trading_year_days=365
if you're trading crypto, or any other number for intl. markets.
- Fixed bug in
plot_histogram()
(issues 94+95)
- Enable period setting for adjusted sortino
- Added
utils.make_index()
for easy "etf" creation
- Fixed PIP installer
- Minor code refactoring
gain_to_pain
renamed togain_to_pain_ratio
- Minor code refactoring
- Added Sortino/√2 and Gain/Pain ratio to report
- Merged PRs to fix some bugs
- Misc bug fixes and code improvements
- Fixed
conditional_value_at_risk()
- Fixed
%matplotlib inline
issue notebooks
- Added mtd/qtd/ytd methods for panda (usage:
df.mtd()
) - Fixed Pandas deprecation warning
- Fixed Matplotlib deprecation warning
- Try setting
%matplotlib inline
automatic in notebooks
- Fixed profit Factor formula
- Misc bug fixes
- Fixed chart EOY chart's
xticks
when charting data with 10+ years - Fixed issue where daily return >= 100%
- Fixed Snapshot plot
- Removed duplicaated code
- Added conda installer
- Misc code refactoring and optimizations
- Misc bugfixes
- Cleaning up data before calculations (replaces inf/-inf/-0 with 0)
- Removed usage of
pandas.compound()
for futurepandas
version compatibility - Auto conversion of price-to-returns and returns-to-data as needed
- Fixed issue when last date in data is in the past (issue #4)
- Fixed issue when data has less than 5 drawdown periods (issue #4)
- Fixed CAGR calculation for more accuracy
- Handles drawdowns better in live trading mode when currently in drawdown
- Handles no drawdowns better
- Better report formatting
- Code cleanup
- Fixed calculation for rolling sharpe and rolling sortino charts
- Nicer CSS when printing html reports
- Fixed non-compounded plots in reports when using
compounded=False
- Option to add
compounded=True/False
to reports (default isTrue
)
- Minor bug fixes
- Updated to install and use
yfinance
instead offix_yahoo_finance
- Added support for 3 modes (cumulative, compounded, fixed amount) in
plots.earnings()
andutils.make_portfolio()
- Added two DataFrame utilities:
df.curr_month()
anddf.date(date)
- Misc bug fixes and code refactoring
- Better calculations for cagr, var, cvar, avg win/loss and payoff_ratio
- Removed unused param from
to_plotly()
- Added risk free param to
log_returns()
+ renamed it toto_log_returns()
- Misc bug fixes and code improvements
- Plots returns figure if
show
is set to False
- Minor bug fix
- Added
plots.to_plotly()
method - Added Ulcer Index to metrics report
- Better returns/price detection
- Bug fixes and code refactoring
- Added
pct_rank()
method to stats - Added
multi_shift()
method to utils
- Better VaR/cVaR calculation
- Fixed calculation of
to_drawdown_series()
- Changed VaR/cVaR default confidence to 95%
- Improved Sortino formula
- Fixed conversion of returns to prices (
to_prices()
)
- Initial release
- Pre-release placeholder