|
35 | 35 | 'marketValue': 'market_value', 'orderType': 'order_type', 'realizedPnl': 'realized_pnl', |
36 | 36 | 'unrealizedPnl': 'unrealized_pnl', 'secType': 'sec_type', 'localSymbol': 'local_symbol', |
37 | 37 | 'originSymbol': 'origin_symbol', 'contractId': 'contract_id', 'symbol': 'symbol', |
38 | | - 'currency': 'currency', 'strike': 'strike', 'expiry': 'expiry', 'right': 'right'} |
| 38 | + 'currency': 'currency', 'strike': 'strike', 'expiry': 'expiry', 'right': 'right', |
| 39 | + 'segment': 'segment'} |
39 | 40 |
|
40 | 41 | ORDER_KEYS_MAPPINGS = {'parentId': 'parent_id', 'orderId': 'order_id', 'orderType': 'order_type', |
41 | 42 | 'limitPrice': 'limit_price', 'auxPrice': 'aux_price', 'avgFillPrice': 'avg_fill_price', |
|
45 | 46 | 'outsideRth': 'outside_rth', 'timeInForce': 'time_in_force', 'openTime': 'order_time', |
46 | 47 | 'latestTime': 'trade_time', 'contractId': 'contract_id', 'trailStopPrice': 'trail_stop_price', |
47 | 48 | 'trailingPercent': 'trailing_percent', 'percentOffset': 'percent_offset', 'action': 'action', |
48 | | - 'status': 'status', 'currency': 'currency', 'remaining': 'remaining', 'id': 'id'} |
| 49 | + 'status': 'status', 'currency': 'currency', 'remaining': 'remaining', 'id': 'id', |
| 50 | + 'segment': 'segment'} |
49 | 51 |
|
50 | 52 | if sys.platform == 'linux' or sys.platform == 'linux2': |
51 | 53 | KEEPALIVE = True |
|
0 commit comments