Package quickfix.field

Examples of quickfix.field.IDSource


        // SecurityID
        SecurityID securityID = new SecurityID( ioi.getSecurityID() );
        fixIOI.set( securityID );

        // IDSource
        IDSource idSource = null;
        if (ioi.getIDSource().equals("TICKER"))
            idSource = new IDSource( IDSource.EXCHANGE_SYMBOL );
        if (ioi.getIDSource().equals("RIC"))
            idSource = new IDSource( IDSource.RIC_CODE );
        if (ioi.getIDSource().equals("SEDOL"))
            idSource = new IDSource( IDSource.SEDOL );
        if (ioi.getIDSource().equals("CUSIP"))
            idSource = new IDSource( IDSource.CUSIP );
        if (ioi.getIDSource().equals("UNKOWN"))
            idSource = new IDSource( "100" );
        fixIOI.set( idSource );

        // Price
        Price price = new Price( ioi.getPrice() );
        fixIOI.set( price );
View Full Code Here


        System.out.println("SecurityID: " + order.getSecurityID());
        System.out.println("IDSource: " + order.getIdSource());
        if( order.getSecurityID() != null
            && order.getIdSource()!= null) {
            executionReport.set(new SecurityID(order.getSecurityID()));
            executionReport.set(new IDSource(order.getIdSource()));
        }
       
        // *** Send message ***
        sendMessage(executionReport);
        executions.add(execution);
View Full Code Here

            this.setSecurityID(secID.getValue());
        } catch (FieldNotFound ex) {}
       
        // IDSource
        try {
            IDSource idSrc = new IDSource();
            message.get(idSrc);
            this.setIdSource(idSrc.getValue());
        } catch (FieldNotFound ex) {}   
       
        System.out.println("SecurityID: " + this.getSecurityID());
        System.out.println("IDSource: " + this.getIdSource());
    }
View Full Code Here

            this.setSecurityID(secID.getValue());
        } catch (FieldNotFound ex) {}
       
        // IDSource
        try {
            IDSource idSrc = new IDSource();
            message.get(idSrc);
            this.setIdSource(idSrc.getValue());
        } catch (FieldNotFound ex) {}
    }
View Full Code Here

            this.setSecurityID(secID.getValue());
        } catch (FieldNotFound ex) {}
       
        // IDSource
        try {
            IDSource idSrc = new IDSource();
            message.get(idSrc);
            this.setIdSource(idSrc.getValue());
        } catch (FieldNotFound ex) {}        
    }
View Full Code Here

TOP

Related Classes of quickfix.field.IDSource

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.