Package samples.base

Examples of samples.base.StkContract


   private void obtainContract() {

      switch (m_mode) {
      case 0:
         {
            m_contract = new StkContract("IBM");
            m_contract.m_currency = "EUR";
            break;
         }
      case 1:
         {
View Full Code Here


      m_contract = new OptContract("IBM", "20121019", 200, "CALL");
      m_contract.m_currency = "USD";
      m_contract.m_multiplier = "100";

      Contract underlying = new StkContract("IBM");
      submitSecDef(1, underlying);

      m_status = Status.SecDef;
   }
View Full Code Here

TOP

Related Classes of samples.base.StkContract

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.