'Create a bid order (buy order)
:param price: The price for the order
:param quantity: The quantity of the order
:param timeout: The timeout of the order, when does the order need to be timed out
:type price: Price
:type quantity: Quantity
:type timeout: Timeout
:return: The order that is created
:rtype: Order'

def create_bid_order(self, price, quantity, timeout):

    assert isinstance(price, Price), type(price)
    assert isinstance(quantity, Quantity), type(quantity)
    assert isinstance(timeout, Timeout), type(timeout)
    order = Order(self.order_repository.next_identity(), price, quantity, timeout, Timestamp.now(), False)
    self.order_repository.add(order)
    self._logger.info(('Bid    order    created    with    id:    ' + str(order.order_id)))
    return order
