'Add a specific tick to the database'

def add_tick(self, tick):

    self.execute(u'INSERT    INTO    ticks    (trader_id,    message_number,    order_number,    price,    price_type,    quantity,quantity_type,    timeout,    timestamp,    is_ask,    public_key,    signature)    VALUES(?,?,?,?,?,?,?,?,?,?,?,?)', tick.to_database())
    self.commit()
