async def create_order(self, symbol, type, side, amount, price=None, params={}):
    (await self.load_markets())
    market = self.market(symbol)
    multiplier = 100000000
    orderSide = ('Bid' if (side == 'buy') else 'Ask')
    request = self.ordered({'currency': market['quote']})
    request['currency'] = market['quote']
    request['instrument'] = market['base']
    request['price'] = int((price * multiplier))
    request['volume'] = int((amount * multiplier))
    request['orderSide'] = orderSide
    request['ordertype'] = self.capitalize(type)
    request['clientRequestId'] = str(self.nonce())
    response = (await self.privatePostOrderCreate(self.extend(request, params)))
    id = self.safe_string(response, 'id')
    return {'info': response, 'id': id}
async def create_order(self, symbol, type, side, amount, price=None, params={}):
    (await self.load_markets())
    market = self.market(symbol)
    multiplier = 100000000
    orderSide = ('Bid' if (side == 'buy') else 'Ask')
    request = self.ordered({'currency': market['quote']})
    request['currency'] = market['quote']
    request['instrument'] = market['base']
    request['price'] = int((price * multiplier))
    request['volume'] = int((amount * multiplier))
    request['orderSide'] = orderSide
    request['ordertype'] = self.capitalize(type)
    request['clientRequestId'] = str(self.nonce())
    response = (await self.privatePostOrderCreate(self.extend(request, params)))
    id = self.safe_string(response, 'id')
    return {'info': response, 'id': id}