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

Re: [amibroker] Re: using TimeFrameGetPrice with SetForeign()



PureBytes Links

Trading Reference Links

hi,
 
in reaction to the problem Herman is having I like to mention a few things I encounter when using eSignal with Amibroker. Didn't mention it before because I do not yet use RT data for system trading yet (only EOD for now).
 
1) I use the following lines to update the database that I track. I have multiple RT databases because one can only have a 100 symbols per database.
 
Buy = C > 0;
Filter = Buy;
AddColumn(Buy,"");
what happens sometimes during the explore is that it gets "stuck" at one symbol. Stopping the explore and trying to "force" it to download also does not work. I find I have to go out of Amibroker, restart it and then the data is available.
 
2) sometimes I start with 1 database (Real Time database 1  or RT1) and switch to another one, RT2.  Sometimes I haven't been in RT2 for a while and a lot of data is missing. When I do a explore to update the data this seems not to work good. The data will not download properly using this explore method. When I try to force the data to download for each symbol individually for most symbols this works, but quite frequently I see for some symbols the data downloading real slow. I now recognise these symbols directly as a problem symbol: the data for that symbol seems to be downloading, the chart slowly building up, and then all of a sudden it is lost again and starts all over to try to download the data. Again one needs to go out and back into Amibroker to solve the problem.
 
3) When switching from 1 real time data base to another it sometimes does not want to connect. Amibroker comes with the message that the "connection is partially established", then the connection is "OK" but then goes back to "partially established" and this back and forth switching sometimes continues forever and I have to go out of Amibroker to stop it.
 
wonder if I am the only one who sees these things happen,
 
rgds, Ed
 
 
----- Original Message -----
Sent: Thursday, February 24, 2005 10:55 AM
Subject: RE: [amibroker] Re: using TimeFrameGetPrice with SetForeign()

Thank you stephane, i am having some problems with certain stocks that don't want to chart in RT, like IBM... they chart fine in eSignal EOD but don't want to show any data in Minutes/ticks. Don't know why...IBM just doesn't want to backfil...
 
best regards,
herman
 
 -----Original Message-----
From: Stephane Carrasset [mailto:nenapacwanfr@xxxxxxxxx]
Sent: Thursday, February 24, 2005 1:59 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: using TimeFrameGetPrice with SetForeign()


Hermann,

no problems,
it works for me intraday

stepahne
Plot( C, "", colorBlack ,64);
SetForeign("FI0009000681");
Plot(TimeFrameGetPrice( "c", inDaily, -1 ),"",colorRed,1);





<psytek@xxxx> wrote:
> Would anybody know if it is possible to ue TimeFrameGetPrice() to
access
> arrays set by SetForeign()? Like so:
>
> SetForeign(Ticker);
> YesterdaysClose = TimeFrameGetPrice("C",inDaily,-1); // need close
for
> "Ticker"
>
> I am looping through a small watchlist and want to read yesterday's
closing
> price (lastvalue) for each ticker but i get EMPTYs
>
> TIA,
> herman





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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links