'Initialises the FillEvent object.
timestamp - The timestamp when the order was filled.
ticker - The ticker symbol, e.g. \'GOOG\'.
action - \'BOT\' (for long) or \'SLD\' (for short).
quantity - The filled quantity.
exchange - The exchange where the order was filled.
price - The price at which the trade was filled
commission - The brokerage commission for carrying out the trade.'

def __init__(self, timestamp, ticker, action, quantity, exchange, price, commission):

    self.type = EventType.FILL
    self.timestamp = timestamp
    self.ticker = ticker
    self.action = action
    self.quantity = quantity
    self.exchange = exchange
    self.price = price
    self.commission = commission
