Yes I would like to plug in ys[pi, [Lambda]h, [Lambda]l, R, ph, pl] into ys in the definition of mkt[...]
Maybe you mean to use ys[pi, \[Lambda]h, \[Lambda]l, R, ph, pl] where you have ys in the definition for mkt[...]?
ys[pi, \[Lambda]h, \[Lambda]l, R, ph, pl]
ys
mkt[...]