アットウィキロゴ

vvv

class ren{

int pnumber;
double[] hprice=new double[10000];
double[] lprice=new double[10000];
double[] cprice=new double[10000];
double[] oprice=new double[10000];
double[] vvolume=new double[10000];
int hyear[]=new int[10000];
int hday[]=new int[10000];
int hmonth[]=new int[10000];
double[][][] high=new double[20][13][32];
double[][][] low=new double[20][13][32];
double[][][] close=new double[20][13][32];
double[][][] open=new double[20][13][32];
double[][][] volume=new double[20][13][32];
int s;
int year,month,day;

public static void main(String [] args) {
ren test=new ren();        
}

ren(){

historydata hd=new historydata();
hd.makedata();
pnumber=hd.pnumber;
hprice=hd.chhigh;
lprice=hd.chlow;
oprice=hd.chopen;
cprice=hd.chclose;
vvolume=hd.chvolume;
hyear=hd.pyear;
hmonth=hd.gmonth;
hday=hd.pday;

for(s=1;s<pnumber+1;s++){
year=hyear[s]-2000;
month=hmonth[s];
day=hday[s];
high[year][month][day]=hprice[s];
low[year][month][day]=lprice[s];
open[year][month][day]=oprice[s];
close[year][month][day]=cprice[s];
volume[year][month][day]=vvolume[s];
}




}
}
最終更新:2011年04月03日 02:33