<%@ page language="java" import="java.sql.*,java.util.*, common.*,ShmManager.*, sise.koscom.*, sise.koscom.comm.*,sise.koscom.code.*, sise.koscom.util.*" contentType="text/html;charset=euc-kr" %> <% /*- ------------------------------------------------------------- -* *- ÇÁ·Î±×·¥¸í : option_sise.jsp *- ÇÁ·Î±×·¥³»¿ë : ¿É¼Ç ÇöÀç°¡ *- ÀÛ¼ºÀÚ : ÀÌ»ó±Ç *- ÀÛ¼ºÀÏ : 2006.04.14 *- ------------------------------------------------------------- -*/ int i, j, k; String[] maturity = CodeUtil.getMaturityList("01"); String e_date = Common.convertNull(request.getParameter("e_date")); if(e_date.equals("")){ e_date = maturity[0]; } String[] codes = CodeUtil.getOptionByMaturity("01", e_date); OptionSise optionsise = new OptionSise(); optionsise.setMemType(Common.DELAY_READ); optionsise.setCodes(codes); optionsise.setData(); ShmMap_OPTIONSISE_LIST shm_optionsise_list = new ShmMap_OPTIONSISE_LIST(); shm_optionsise_list.setCommarea(optionsise.getData()); ShmMap_OPTIONSISE_LIST.OPTIONSISE_LIST occ = null; ShmMap_OPTIONSISE_LIST.OPTIONSISE_LIST.OCC_OPTIONHOGA occ_hoga = null; int loopgrid = Common.parseInt(shm_optionsise_list.get(shm_optionsise_list.CNT)); %> Koscom / Áõ±ÇÁ¤º¸ / ¼±¹°¤ý¿É¼Ç Á¤º¸ / ¿É¼ÇÇöÀç°¡ <%@ include file="/include/koscom_top.inc" %>
<%@ include file="/include/sise_left_menu.inc" %> <%@ include file="/include/koscom_top_ad.inc" %>

<%= Common.getNavigation()%>¼±¹°/¿É¼Ç Á¤º¸ 


* ¿É¼Ç¸¸±âÀÏ

<% StringBuffer strHTML = new StringBuffer(); StringBuffer strCall = new StringBuffer(); StringBuffer strPut = new StringBuffer(); String type, kijun, hyun, daebi, daebi_sign, e_price; String shoga, dhoga; for (i = 0; i < loopgrid; i++ ) { occ = shm_optionsise_list.getOPTIONSISE_LIST(loopgrid-i-1); type = occ.get(occ.TYPE); kijun = Common.parseFloatStr(occ.get(occ.KIJUN),0.01); hyun = Common.parseFloatStr(occ.get(occ.HYUN),0.01); if(hyun.equals("0.0")){ hyun = kijun; } daebi = Common.parseFloatStr(occ.get(occ.DAEBI),0.01); daebi_sign = occ.get(occ.DAEBI_SIGN); e_price = Common.parseFloatStr(occ.get(occ.E_PRICE),0.01); occ_hoga = occ.getOCC_OPTIONHOGA(0); shoga = Common.parseFloatStr(occ_hoga.get(occ_hoga.SHOGA),0.01); dhoga = Common.parseFloatStr(occ_hoga.get(occ_hoga.DHOGA),0.01); if(type.equals("2")){ // Call ¿É¼Ç strCall.append("\n"); strCall.append("\n"); strCall.append("\n"); strCall.append("\n"); strCall.append("\n"); strCall.append("\n"); if(occ.get(occ.ATM_BIT).equals("1")){ strCall.append("\n"); }else{ strCall.append("\n"); } }else{ // Put ¿É¼Ç strPut.append("\n"); strPut.append("\n"); strPut.append("\n"); strPut.append("\n"); strPut.append("\n"); strPut.append("\n"); } if(i % 2 == 1){ strHTML.append(strCall).append(strPut); strCall.setLength(0); strPut.setLength(0); } } %> <%=strHTML.toString()%>
CALL ¿É¼Ç Çà»ç°¡°Ý PUT ¿É¼Ç
°Å·¡·® ¸Å¼ö°¡ ¸Åµµ°¡ ´ëºñ ÇöÀç°¡ ÇöÀç°¡ ´ëºñ ¸Åµµ°¡ ¸Å¼ö°¡ °Å·¡·®
").append(Common.dformatD(occ.get(occ.TVOL))).append(" ").append(Common.setPriceColorFromCompare(kijun, shoga,"F")).append(" ").append(Common.setPriceColorFromCompare(kijun, dhoga,"F")).append(" ").append(Common.signToSymbol(daebi_sign)).append(" ").append(Common.setPriceColorFromSign(daebi, daebi_sign, "F")).append(" ").append(Common.setPriceColorFromSign(hyun, daebi_sign, "F")).append(" ").append(Common.fformat(e_price)).append(" ").append(Common.fformat(e_price)).append(" ").append(Common.setPriceColorFromSign(hyun, daebi_sign, "F")).append(" ").append(Common.signToSymbol(daebi_sign)).append(" ").append(Common.setPriceColorFromSign(daebi, daebi_sign, "F")).append(" ").append(Common.setPriceColorFromCompare(kijun, dhoga,"F")).append(" ").append(Common.setPriceColorFromCompare(kijun, shoga,"F")).append(" ").append(Common.dformatD(occ.get(occ.TVOL))).append(" 


<%@ include file="/include/used_notice.inc" %>
<%@ include file="/include/koscom_bottom.inc" %>