[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] data conversion .



PureBytes Links

Trading Reference Links



 hi ,
    Just for reference on this board .

 The ascii format for input in the metastock downloader is as below ..

 <TICKER>,<PER>,<DTYYYYMMDD>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>,<OPENINT>
ACC-I,1,20050225,000000,364.8500,366.9000,361.5000,362.8000,3357000,0
ACC-I,1,20050228,000000,364.0000,371.5000,360.1500,370.5500,7458000,0

  the period is for 1 minute . for 5 min per is 5 ..

  and daily is D ..

 Just in case someone wants it later .

 The downloader would crunch only this format and convert to metastock ..


On 6/24/09, Natasha ~~!!! <ghostship.blackparrot@xxxxxxxxx> wrote:
This is the txt file for the eod which is then churned into the
  metastock format using the metastock downloader .

 as shown below ...

  <TICKER>,<PER>,<DTYYYYMMDD>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>,<OPENINT>,
WIPRO, D , 19941221,000000,4.0278,4.0278,4.0278,4.0278,9000
WIPRO, D , 19950201,000000,4.1667,4.1667,4.1111,4.1111,36000
WIPRO, D , 19950202,000000,4.0278,4.0278,4.0278,4.0278,9000
WIPRO, D , 19950203,000000,4.1944,4.1944,4.1944,4.1944,117000
WIPRO, D , 19950206,000000,4.1944,4.1944,4.1944,4.1944,9000
WIPRO, D , 19950208,000000,4.1667,4.1944,4.1667,4.1944,108000
WIPRO, D , 19950210,000000,4.2222,4.2222,4.2222,4.2222,18000
WIPRO, D , 19950213,000000,4.1667,4.1667,4.1667,4.1667,9000


 ...........................

   In the above , the per is D since its end of day format ..

 For the intraday format does anyone know the symbol that has to be input
there  so the metastock downloader can access it . for one minute data .


  THANKS ..
On 6/24/09, Natasha ~~!!! <ghostship.blackparrot@xxxxxxxxx> wrote:
hi ,
     I was actually interested in knowing what one should put in
the header for the period so that it can be churned into metastock .

For end of day the symbol is " D " , for intraday one minute what is the
symbol needed so the Csv can be churned into metastock .

  fputs( "<TICKER>,<PER>,<DTYYYYMMDD>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>,<OPENINT>,\n", fh );

    PER ?? for one minute intraday data ...

  Thanks ,


 


On 6/24/09, Prashanth <prash454.ta@xxxxxxxxx> wrote:




Natasha,
 
Graham has provided a Intraday data Export AFL which is available in the Library.
 
Cheers
 
Prashanth
----- Original Message -----
Sent: Wednesday, June 24, 2009 00:05
Subject: [amibroker] data conversion .

output_folder = "C:\\Program Files\\Amibroker\\DataExport ~Txt\\" ;
 fmkdir( output_folder );
fh = fopen( output_folder +Name()+".txt", "w");
if( fh )
{
   fputs( "<TICKER>,<PER>,<DTYYYYMMDD>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>,<OPENINT>,\n", fh );
   y = Year();
   m = Month();
   d = Day();
   r = Hour();
   e = Minute();
   n = Second();
  
   for( i = 0; i < BarCount; i++ )
   {
      fputs( Name() + "," , fh );
      fputs( " D , " , fh );


```````````````````
  Hi,

  for end of day   ~~     fputs( " D , " , fh );  

 what is the symbol for one minute intraday data ..

 Thanks ..


 Natasha ..






--
    Warm Regards;
      ``````  Natasha !!!
Capitalism is a law established by God. Its foundation is in the 9th Commandment,
      "Thou shalt not covet."
"We are fast approaching the stage of the ultimate inversion: the stage where the government is free to do anything it pleases, while the citizens may act only by permission; which is the stage of the darkest periods of human history, the stage of rule by brute force."

   “When you see that trading is done, not by consent, but by compulsion - when you see that in order to produce, you need to obtain permission from men who produce nothing – when you see money flowing to those who deal, not in goods, but in favors – when you see that men get richer by graft and pull than by work, and your laws don't protect you against them, but protect them against you – when you see corruption being rewarded and honesty becoming a self-sacrifice – you may know that your society is doomed.”  ~ 1957 Ayn R. ~ Atlas Shrugged



--
    Warm Regards;
      ``````  Natasha !!!
Capitalism is a law established by God. Its foundation is in the 9th Commandment,
      "Thou shalt not covet."
"We are fast approaching the stage of the ultimate inversion: the stage where the government is free to do anything it pleases, while the citizens may act only by permission; which is the stage of the darkest periods of human history, the stage of rule by brute force."

   “When you see that trading is done, not by consent, but by compulsion - when you see that in order to produce, you need to obtain permission from men who produce nothing – when you see money flowing to those who deal, not in goods, but in favors – when you see that men get richer by graft and pull than by work, and your laws don't protect you against them, but protect them against you – when you see corruption being rewarded and honesty becoming a self-sacrifice – you may know that your society is doomed.”  ~ 1957 Ayn R. ~ Atlas Shrugged



--
    Warm Regards;
      ``````  Natasha !!!
Capitalism is a law established by God. Its foundation is in the 9th Commandment,
      "Thou shalt not covet."
"We are fast approaching the stage of the ultimate inversion: the stage where the government is free to do anything it pleases, while the citizens may act only by permission; which is the stage of the darkest periods of human history, the stage of rule by brute force."

   “When you see that trading is done, not by consent, but by compulsion - when you see that in order to produce, you need to obtain permission from men who produce nothing – when you see money flowing to those who deal, not in goods, but in favors – when you see that men get richer by graft and pull than by work, and your laws don't protect you against them, but protect them against you – when you see corruption being rewarded and honesty becoming a self-sacrifice – you may know that your society is doomed.”  ~ 1957 Ayn R. ~ Atlas Shrugged

__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___