Trade.Trade_aggregationtype aggregated_trades = {symbol : Base.string;total_quantity : Base.float;volume_weighted_price : Base.float;total_commission : Base.float;trade_count : Base.int;first_trade_time : Timestamp.t;last_trade_time : Timestamp.t;}val aggregate_trades : trade Base.list -> aggregated_trades optionval calculate_twap : aggregated_trades -> Base.floatval execution_quality :
trade ->
benchmark_price:Base__Float.t ->
execution_quality