Observable emits trade objects. How to make operation on each emission into one result object?
Trade(tradeType: String, profit: BigDecimal) Result(totalProfit: BigDecimal