Foreign funds posted a net outflow on the CSE even as the ASPI rose, extending a selling trend that has topped LKR 37.