⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 executionfilter.java

📁 网上期货交易的外挂原码,可实现自动交易功能,自动添加模块
💻 JAVA
字号:
/* * ExecutionFilter.java * */package com.ib.client;public class ExecutionFilter {    public int m_clientId;    public String m_acctCode;    public String m_time;    public String m_symbol;    public String m_secType;    public String m_exchange;    public String m_side;    public ExecutionFilter() {        m_clientId = 0;    }    public ExecutionFilter(int p_clientId, String p_acctCode, String p_time, String p_symbol, String p_secType,                           String p_exchange, String p_side) {        m_clientId = p_clientId;        m_acctCode = p_acctCode;        m_time = p_time;        m_symbol = p_symbol;        m_secType = p_secType;        m_exchange = p_exchange;        m_side = p_side;    }    public boolean equals(Object p_other) {        boolean l_bRetVal = false;        if (p_other == null) {            l_bRetVal = false;        } else if (this == p_other) {            l_bRetVal = true;        } else {            ExecutionFilter l_theOther = (ExecutionFilter) p_other;            l_bRetVal = (m_clientId == l_theOther.m_clientId && m_acctCode.equalsIgnoreCase(l_theOther.m_acctCode) &&                         m_time.equalsIgnoreCase(l_theOther.m_time) && m_symbol.equalsIgnoreCase(l_theOther.m_symbol) &&                         m_secType.equalsIgnoreCase(l_theOther.m_secType) &&                         m_exchange.equalsIgnoreCase(l_theOther.m_exchange) &&                         m_side.equalsIgnoreCase(l_theOther.m_side));        }        return l_bRetVal;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -