pub fn deal(
order_id: &JsString,
amount: u32,
room_name: Option<RoomName>
) -> Result<(), ErrorCode>
Expand description
Execute a trade on an order on the market. Name of a room with a terminal from which to send or receive resources is required unless the order is for an account resource.