@authentication_required
def create_bulk_orders(self, orders):
    'Create multiple orders.'
    for order in orders:
        order['clOrdID'] = (self.orderIDPrefix + base64.b64encode(uuid.uuid4().bytes).decode('utf8').rstrip('=\n'))
        order['symbol'] = self.symbol
        if self.postOnly:
            order['execInst'] = 'ParticipateDoNotInitiate'
    return self._curl_bitmex(path='order/bulk', postdict={'orders': orders}, verb='POST')
Create multiple orders.
@authentication_required
def create_bulk_orders(self, orders):
    
    for order in orders:
        order['clOrdID'] = (self.orderIDPrefix + base64.b64encode(uuid.uuid4().bytes).decode('utf8').rstrip('=\n'))
        order['symbol'] = self.symbol
        if self.postOnly:
            order['execInst'] = 'ParticipateDoNotInitiate'
    return self._curl_bitmex(path='order/bulk', postdict={'orders': orders}, verb='POST')