Risk assessment of aggregated flexibility usage for optimal multi-market trade