Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

tstest.cpp File Reference

#include <stdio.h>
#include "yahooTS.h"

Go to the source code of this file.

Functions

 main ()


Function Documentation

main ( )
 

Definition at line 7 of file tstest.cpp.

00008 {
00009   const size_t VEC_SIZE = 512;
00010   double vec[VEC_SIZE];
00011   yahooTS ts( "equities\\" );
00012   
00013   size_t N = VEC_SIZE;
00014   if (ts.getTS( "aa", vec, N, yahooTS::Close )) {
00015     for (size_t i = 0; i < N; i++) {
00016       printf("%3d  %f\n", i, vec[i] );
00017     }
00018   }
00019   else {
00020     fprintf(stderr, "main: getTS failed\n");
00021   }
00022 }


Generated at Thu May 22 21:12:35 2003 for Hurst Exponent Calculation and Supporting Statistics by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001