Changeset 1365 for applications/robust/main.cpp
- Timestamp:
- 05/10/11 13:10:46 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/robust/main.cpp
r1362 r1365 48 48 HSZ hszItem = DdeCreateStringHandle(idInst, szItem, 0); 49 49 HDDEDATA hData = DdeClientTransaction(NULL,0,hConv,hszItem,CF_TEXT, 50 XTYP_ REQUEST,TIMEOUT_ASYNC , NULL);50 XTYP_ADVSTART,TIMEOUT_ASYNC , NULL); //TIMEOUT_ASYNC 51 51 if (hData==NULL) 52 52 { … … 112 112 { 113 113 V0 = 0.01 * eye(ar_components.size()+2); 114 V0(0,0) = 1;114 V0(0,0) = 0; 115 115 my_arx->set_constant(true); 116 116 … … 120 120 121 121 V0 = 0.01 * eye(ar_components.size()+1); 122 V0(0,0) = 1;122 V0(0,0) = 0; 123 123 my_arx->set_constant(false); 124 124 … … 207 207 /* 208 208 char szApp[] = "MT4"; 209 char szTopic[] = " ASK";210 char szItem1[] = "EUR USD";209 char szTopic[] = "BID"; 210 char szItem1[] = "EURJPY"; 211 211 212 212 //DDE Initialization … … 260 260 Sleep(300000); 261 261 Sleep(3000); 262 */262 263 263 264 264 /* … … 375 375 376 376 377 377 378 vector<vector<string>> strings; 378 379 … … 410 411 } 411 412 413 412 414 list<list<pair<int,int>>> model_types = model::possible_models_recurse(max_model_order,data_matrix.rows()); 413 415 414 416 list<model*> models; 415 417 for(list<list<pair<int,int>>>::iterator model_type = model_types.begin();model_type!=model_types.end();model_type++) … … 441 443 442 444 cout << "Updated." << endl; 443 445 444 446 /* 445 447 vector<vec> conditions; … … 652 654 */ 653 655 656 654 657 ofstream myfile; 655 658 char fstring[80]; … … 670 673 671 674 myfile.close(); 672 675 } 673 676 /* 674 677 myfile.open(f2string,ios::app); … … 706 709 707 710 708 }711 //} 709 712 710 713