- Fixed PIP installer
- Minor code refactoring
gain_to_painrenamed 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 inlineissue notebooks
- Added mtd/qtd/ytd methods for panda (usage:
df.mtd()) - Fixed Pandas deprecation warning
- Fixed Matplotlib deprecation warning
- Try setting
%matplotlib inlineautomatic in notebooks
- Fixed profit Factor formula
- Misc bug fixes
- Fixed chart EOY chart's
xtickswhen 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 futurepandasversion 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/Falseto reports (default isTrue)
- Minor bug fixes
- Updated to install and use
yfinanceinstead 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
showis 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