Package com.ib.client

Examples of com.ib.client.OrderComboLeg


            int exemptCode = Integer.parseInt(m_exemptCode.getText().length() != 0 ? m_exemptCode.getText() : "-1");
            double price = parseStringToMaxDouble(m_price.getText());
            m_comboLegsModel.addComboLeg( new ComboLeg(conId, ratio,
                            m_action.getText(), m_exchange.getText(), openClose,
                            shortSaleSlot, m_designatedLocation.getText(), exemptCode),
                                    new OrderComboLeg(price) );
        }
        catch( Exception e) {
            reportError( "Error - ", e);
            return;
        }
View Full Code Here


        return 9;
    }

    synchronized public Object getValueAt(int r, int c) {
        ComboLeg comboLeg = (ComboLeg)m_comboLegData.get(r);
        OrderComboLeg orderComboLeg = (OrderComboLeg)m_orderComboLegData.get(r);

        switch (c) {
            case 0:
                return Integer.toString(comboLeg.m_conId);
            case 1:
View Full Code Here

TOP

Related Classes of com.ib.client.OrderComboLeg

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.