π±
π±
π±
π±
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
Access the orderbook
First, run the backtesting.
from
empyrial
import
empyrial
,
Engine
β
portfolio
=
Engine
(
start_date
=
"2018-01-01"
,
portfolio
=
[
"BLK"
,
"BAC"
,
"AAPL"
,
"TM"
,
"JPM"
,
"JD"
,
"INTU"
,
"NVDA"
,
"DIS"
,
"TSLA"
],
optimizer
=
"EF"
,
rebalance
=
"1y"
,
#rebalance every year
)
β
empyrial
(
portfolio
)
Then, run:
empyrial
.
orderbook
Output
Risk Management - Previous
Stop Loss
Next - Save the tearsheet
Get a report
Last modified
1yr ago
Copy link