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

📄 execution.java

📁 TWS Source code for IB interface
💻 JAVA
字号:
/* * Execution.java * */package com.ib.client;public class Execution {    public int 		m_orderId;    public int 		m_clientId;    public String 	m_execId;    public String 	m_time;    public String 	m_acctNumber;    public String 	m_exchange;    public String 	m_side;    public int 		m_shares;    public double 	m_price;    public int		m_permId;    public int         m_liquidation;    public Execution() {        m_orderId = 0;        m_clientId = 0;        m_shares = 0;        m_price = 0;        m_permId = 0;        m_liquidation = 0;    }    public Execution( int p_orderId, int p_clientId, String p_execId, String p_time,                      String p_acctNumber, String p_exchange, String p_side, int p_shares,                      double p_price, int p_permId, int p_liquidation) {        m_orderId = p_orderId;        m_clientId = p_clientId;        m_execId = p_execId;        m_time = p_time;      	m_acctNumber = p_acctNumber;      	m_exchange = p_exchange;      	m_side = p_side;      	m_shares = p_shares;      	m_price = p_price;        m_permId = p_permId;        m_liquidation = p_liquidation;    }    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 {            Execution l_theOther = (Execution)p_other;            l_bRetVal = m_execId.equals( l_theOther.m_execId);        }        return l_bRetVal;    }}

⌨️ 快捷键说明

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