

def addOrderArray(self, timestamp, task, shares, symbol, orderType, duration, closeType, limitPrice):
    ' \n        @param timestamp: the exact timestamp when the order was submitted\n        @param task: buy, sell, short, cover\n        @param shares: the number of shares to trade\n        @param symbol: the symbol abbreviation of the stock\n        @param orderType: they type of order (moo, moc, limit, vwap)\n        @param duration: the length of time the order is valid for\n        @param closeType: sell first or sell last (lifo,fifo)\n        \n        @summary: adds a new unfulfilled order to the orders table and returns the order\n        '
    row = {
        
    }
    row['task'] = task
    row['shares'] = shares
    row['symbol'] = symbol
    row['order_type'] = orderType
    row['duration'] = duration
    row['timestamp'] = timestamp
    row['close_type'] = closeType
    row['limit_price'] = limitPrice
    row['fill/timestamp'] = 0
    row['fill/quantity'] = 0
    row['fill/cashChange'] = 0
    row['fill/commission'] = 0
    row['fill/impactCost'] = 0
    self.orderArray = np.append(self.orderArray, row)
    return timestamp

dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/Legacy/Legacy/simulator/Order.py Order.addOrderArray/VarMisuse@142/407 `row`->`timestamp`