'Obtain all elements of the bar a row of dataframe
and return a TickEvent'

def _create_event(self, index, ticker, row):

    try:
        bid = PriceParser.parse(row['Bid'])
        ask = PriceParser.parse(row['Ask'])
        tev = TickEvent(ticker, index, bid, ask)
        return tev
    except ValueError:
        raise EmptyTickEvent(("row    %s    %s    %s    can't    be    convert    to    TickEvent" % (index, ticker, row)))
