

def fillOrder(self, timestamp, rowIterator, quantity, price, commission, impactCost):
    ' \n        @param timestamp: the exact timestamp when the order was fufilled\n        @param rowIterator: a pytables iteratable rows object with 1 row, the row to be filled in it\n        @param quantity: the number of shares successfully traded\n        @param price: the purchase price per share\n\n        @warning: CURRENTLY DONE IN THE SIMULATOR BUY/SELL METHODS THIS METHOD CURRENTLY WILL NOT FUCTION IF USED\n        @summary: adds a fill to a given order\n        '
    for row in rowIterator:
        row['fill/timestamp'] = timestamp
        row['fill/quantity'] = quantity
        row['fill/cashChange'] = price
        row['fill/commission'] = commission
        row['fill/impactCost'] = impactCost
        row.update()

dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/Legacy/Legacy/simulator/Order.py Order.fillOrder/original