var cash;
 var payment;
 var depositBank1;
 var depositBank2;
 for (var m=1;m<=12;m++) {
  depositBank1 = depositBank1 + payment;
  if (depositBank1>100000) {
   moveCash(depositBank1,depositBank2,100000);
   if (stockPrice(2330)<=55 || stockPrice(2412)<=75) {
    buystock(2330,55);
    buystock(2412,75);
   }
  } else {
   continue;
  }
 }
創作者介紹

推理文by阿誠

abort 發表在 痞客邦 PIXNET 留言(0) 人氣()