calculate_weights_statistics# API documentation for tradeexecutor.analysis.weights.calculate_weights_statistics Python function. calculate_weights_statistics(weights)[source]# Get statistics of weights during the portfolio construction. Cash positions are excluded Parameters: weights (Series) – US Dollar weights as series of MultiIndex(timestamp, pair) Returns: Human-readable table of statistics Return type: DataFrame