

def fillOrderArray(self, timestamp, row, quantity, price, commission, impactCost):
    '\n        @summary: CURRENTLY DONE IN THE SIMULATOR BUY/SELL METHODS. adds a fill to a given order\n        @param timestamp: the exact timestamp when the order was fufilled\n        @param row: the dictionary representing the row\n        @param quantity: the number of shares successfully traded\n        @param price: the purchase price per share\n        '
    row['fill/timestamp'] = timestamp
    row['fill/quantity'] = quantity
    row['fill/cashChange'] = price
    row['fill/commission'] = commission
    row['fill/impactCost'] = impactCost

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