[Fix] 修复了当bitmexgateway.socketapi响应onTrade时，遇到side字段为''导致异常的情况。
[Fix] 修复了当bitmexgateway.socketapi响应onTrade时，遇到side字段为''导致异常的情况。

an example without 'size':
{
 'execID': '***', 'execType': 'Funding',
 'ordStatus': 'Filled', 'lastLiquidityInd': '', 'exDestination': 'XBME',
 'text': 'Funding',
 'lastQty': 508, 'timeInForce': 'AtTheClose', 'currency': 'USD', 'pegPriceType': '',
 'simpleLeavesQty': None, 'transactTime': '***', 'ordRejReason': '',
 'underlyingLastPx': None, 'execCost': 8051292, 'clOrdID': '', 'settlCurrency': 'XBt',
 'cumQty': 508, 'displayQty': None, 'lastPx': 6309.35, 'homeNotional': -0.08051292,
 'commission': -0.0001, 'avgPx': 6309.35, 'lastMkt': 'XBME', 'price': 6309.35,
 'trdMatchID': '***', 'simpleOrderQty': None,
 'contingencyType': '', 'triggered': '', 'timestamp': '***',
 'symbol': 'XBTUSD', 'foreignNotional': 508, 'pegOffsetValue': None, 'execInst': '',
 'simpleCumQty': None, 'execComm': -805, 'orderID': '***',
 'multiLegReportingType': 'SingleSecurity', 'account': ***, 'stopPx': None,
 'leavesQty': 0, 'tradePublishIndicator': '', 'orderQty': 508, 'workingIndicator': False,
 'ordType': 'Limit', 'clOrdLinkID': '',
 'side': ''
}

andrewchenshx/vnpy,vnpy/vnpy,bigdig/vnpy,msincenselee/vnpy,bigdig/vnpy,msincenselee/vnpy,vnpy/vnpy,andrewchenshx/vnpy,bigdig/vnpy,msincenselee/vnpy,andrewchenshx/vnpy,msincenselee/vnpy,andrewchenshx/vnpy,andrewchenshx/vnpy,bigdig/vnpy