'Create an ask/bid from the provided parameters in a request. This method returns a tuple with the price,
quantity and timeout of the ask/bid.'

@staticmethod
def create_ask_bid_from_params(parameters):

    timeout = 3600.0
    if has_param(parameters, 'timeout'):
        timeout = float(get_param(parameters, 'timeout'))
    price = float(get_param(parameters, 'price'))
    quantity = int(get_param(parameters, 'quantity'))
    price_type = get_param(parameters, 'price_type')
    quantity_type = get_param(parameters, 'quantity_type')
    return (price, price_type, quantity, quantity_type, timeout)
