代码拉取完成,页面将自动刷新
#!/usr/bin/env python
""" generated source for module ExecutionFilter """
#
# Original file copyright original author(s).
# This file copyright Troy Melhase, troy@gci.net.
#
# WARNING: all changes to this file will be lost.
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from ib.lib.overloading import overloaded
#
# * ExecutionFilter.java
# *
#
# package: com.ib.client
class ExecutionFilter(object):
""" generated source for class ExecutionFilter """
m_clientId = 0 # zero means no filtering on this field
m_acctCode = ""
m_time = ""
m_symbol = ""
m_secType = ""
m_exchange = ""
m_side = ""
@overloaded
def __init__(self):
""" generated source for method __init__ """
self.m_clientId = 0
@__init__.register(object, int, str, str, str, str, str, str)
def __init___0(self, p_clientId, p_acctCode, p_time, p_symbol, p_secType, p_exchange, p_side):
""" generated source for method __init___0 """
self.m_clientId = p_clientId
self.m_acctCode = p_acctCode
self.m_time = p_time
self.m_symbol = p_symbol
self.m_secType = p_secType
self.m_exchange = p_exchange
self.m_side = p_side
def __eq__(self, p_other):
""" generated source for method equals """
l_bRetVal = False
if p_other is None:
l_bRetVal = False
elif self is p_other:
l_bRetVal = True
else:
l_theOther = p_other
l_bRetVal = (self.m_clientId == l_theOther.m_clientId and self.m_acctCode.lower() == l_theOther.m_acctCode.lower() and self.m_time.lower() == l_theOther.m_time.lower() and self.m_symbol.lower() == l_theOther.m_symbol.lower() and self.m_secType.lower() == l_theOther.m_secType.lower() and self.m_exchange.lower() == l_theOther.m_exchange.lower() and self.m_side.lower() == l_theOther.m_side.lower())
return l_bRetVal
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。