visualise_asset_correlation#
API documentation for tradeexecutor.visual.asset_correlation.visualise_asset_correlation Python function.
- visualise_asset_correlation(strategy_universe, height=800, width=None)[source]#
Draw asset correlation heatmap.
Takes close price of all pairs in the trading universe
Example:
from tradeexecutor.visual.asset_correlation import visualise_asset_correlation fig = visualise_asset_correlation( strategy_universe ) fig.show()
- Parameters:
strategy_universe (TradingStrategyUniverse) –
- Return type:
Figure