''

def sendOrder(self, symbol, direction, priceType, offset, price, volume):

    self.reqID += 1
    self.orderRef += 1
    req = dict()
    req['InstrumentID'] = symbol
    req['LimitPrice'] = price
    req['VolumeTotalOriginal'] = volume
    req['OrderPriceType'] = priceType
    req['Direction'] = direction
    req['CombOffsetFlag'] = offset
    req['OrderRef'] = str(self.orderRef)
    req['InvestorID'] = self.userID
    req['UserID'] = self.userID
    req['BrokerID'] = self.brokerID
    req['CombHedgeFlag'] = defineDict['THOST_FTDC_HF_Speculation']
    req['ContingentCondition'] = defineDict['THOST_FTDC_CC_Immediately']
    req['ForceCloseReason'] = defineDict['THOST_FTDC_FCC_NotForceClose']
    req['IsAutoSuspend'] = 0
    req['TimeCondition'] = defineDict['THOST_FTDC_TC_GFD']
    req['VolumeCondition'] = defineDict['THOST_FTDC_VC_AV']
    req['MinVolume'] = 1
    self.reqOrderInsert(req, self.reqID)
    logger.debug(('insert    new    order:%s' % req))
    return str(self.orderRef)
