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

[amibroker] Workspace tree supports in-place editing was:: AmiBroker 4.53.0 BETA released



PureBytes Links

Trading Reference Links

herman

 i believe naz is 20 min
 the best way i know of is amiquote "current" yahoo
 i am almost certain the data is dumped into a single file of rows 
which 
 i don't think can be read by afl 

 my method would be to parse the data into individual files with j 
script.

 run the script with the alertif function using a param "switch"
then you could read the file in afl using name()

bw
 curt

//---------------------------------------
cleanup=Param("cleanup",0,0,1,1);
save=Param("save",0,0,1,1);
p1=Param("1) S/T Period",20,3,373,1);
p2=Param("2) I/T Period",50,3,373,1);
p3=Param("3) L/T Period",144,3,373,1);
periods="p1="+NumToStr( p1, 3.0, False)+";"+"p2="+NumToStr( p2, 3.0,
False)+";"+" XSVF 4:50 AM 3/20/2004p3="+NumToStr( p3, 3.0, False)
+";";
if(Cleanup)
{
fileperiods=fopen("Periods.txt","w");
fclose( fileperiods );
 }

if( save)

{
fileperiods=fopen("Periods.txt","a");
if(fileperiods)
{
fputs( periods, fileperiods );
fclose( fileperiods );
}  }

//AlertIf( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio 
alert", 2 );

//AlertIF( Short, "EXEC Calc.exe", "Launching external application", 
3 );


--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> Hello,
> 
> would anybody know how to automatically, from a RealTime Amibroker 
afl
> program and for use in a live RT system, retrieve the official 
Open price
> from a major financial website like Yahoo or BigCharts, i.e. at 
09:45:00
> a.m.?
> 
> Because the official Open price is often not exactly the same as 
that read
> from RT data I am looking for a "15-min after the Open" 
confirmation of the
> Open price.
> 
> TIA,
> Herman.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/