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

[amibroker] ReleaseNotes/Readme



PureBytes Links

Trading Reference Links

Hello Martin,

This was fixed in version 4.52.0 of AmiBroker.

Extract from Readme file:
- ASCII importer and Quote Editor properly
distinguish records with time specified as 00:00:00 from EOD records (without time)


Regards,
William Peters
www.amitools.com


Tuesday, June 15, 2004, 6:48:45 AM, you wrote:


MA> Hi,

MA> I have discovered an inconveniance while importing intraday data into
MA> AmiBroker version 4.50.11. The problem occurs for the quotes with timestamp
MA> 00:00.

MA> It seems like the import code does not expect the date to roll over to a new
MA> day when the time rolls over from 23:00 to 00:00. An example (extract from
MA> my eur/usd 60min data). If I import the following data:

MA> "Date","Time","O","H","L","C","U","D"
MA> 04/21/1998,2100,1.1049,1.1049,1.1037,1.1042,15,20
MA> 04/21/1998,2200,1.1041,1.1057,1.1041,1.1050,16,13
MA> 04/21/1998,2300,1.1049,1.1060,1.1047,1.1047,9,15
MA> 04/22/1998,0000,1.1046,1.1051,1.1046,1.1048,4,4
MA> 04/22/1998,0100,1.1049,1.1063,1.1049,1.1053,8,5
MA> 04/22/1998,0200,1.1051,1.1096,1.1049,1.1087,28,21

MA> The 0000 hour quote gets placed last in the graph (i.e in larger datasets it
MA> is placed last on the 04/22 day). On the other hand, if I import the
MA> following data (with the date set to 04/21 for the 0000 hour quote):

MA> "Date","Time","O","H","L","C","U","D"
MA> 04/21/1998,2100,1.1049,1.1049,1.1037,1.1042,15,20
MA> 04/21/1998,2200,1.1041,1.1057,1.1041,1.1050,16,13
MA> 04/21/1998,2300,1.1049,1.1060,1.1047,1.1047,9,15
MA> 04/21/1998,0000,1.1046,1.1051,1.1046,1.1048,4,4
MA> 04/22/1998,0100,1.1049,1.1063,1.1049,1.1053,8,5
MA> 04/22/1998,0200,1.1051,1.1096,1.1049,1.1087,28,21


MA> This produces the desired behaviour, with the quotes placed in the correct
MA> order. The timestamp on the 0000 hour quote is not shown though.

MA> I think that this is somewhat strange and would consider it beeing a bug,
MA> unless I have made any mistakes along the road..

MA> Attached two screenshots of the quote editor in AmiBroker as a reference.


MA> This is the import format definition that I use:

MA> # Format definition file generated automatically
MA> # by AmiBroker's ASCII Import Wizard
MA> $FORMAT Date_MDY, Time, Open, High, Low, Close, Volume, Skip
MA> $SKIPLINES 1
MA> $SEPARATOR ,
MA> $CONT 1
MA> $GROUP 250
MA> $AUTOADD 1
MA> $DEBUG 1

MA> Have I got something completly wrong or is this a bug?

MA> Regards 
MA> Martin Andersson



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/