calculate_total_assets# API documentation for tradeexecutor.strategy.account_correction.calculate_total_assets Python function. calculate_total_assets(portfolio)[source]# Calculate total tokens the portfolio should held. Parameters: portfolio (Portfolio) – Return type: Dict[AssetIdentifier, Decimal]