π±
π±
π±
π±
Empyrial
Searchβ¦
π±
π±
π±
π±
Empyrial
Homepage
Installation
Quickstart
Engine
Empyrial
Rebalancing
Calendar Rebalancing
Custom Rebalancing
Optimization
Global Efficient Frontier
Mean-Variance
Hierarchical Risk Parity
Minimum-Variance
Diversification
Custom allocation
Risk Management
Max Drawdown
Take Profit
Stop Loss
Orderbook
Access the orderbook
Save the tearsheet
Get a report
Powered By
GitBook
Get a report
If you want to get a
PDF report
of the backtesting use
get_report
instead of
empyrial
function:
1
from
empyrial
import
get_report
,
Engine
2
β
3
portfolio
=
Engine
(
4
start_date
=
"2018-01-01"
,
5
portfolio
=
[
"BLK"
,
"BAC"
,
"AAPL"
,
"TM"
,
"JPM"
,
"JD"
,
"INTU"
,
"NVDA"
,
"DIS"
,
"TSLA"
],
6
optimizer
=
"EF"
,
7
rebalance
=
"1y"
,
8
risk_manager
=
{
"Stop Loss"
:
-
0.2
}
9
)
10
β
11
get_report
(
portfolio
)
Copied!
Output
Orderbook - Previous
Access the orderbook
Last modified
9mo ago
Copy link
Contents