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

Re: [amibroker] 'SetForeign' failure -- And what happens afterwards ?



PureBytes Links

Trading Reference Links

Described in the read me:

"SetForeign - replaces current price/volume arrays with those of foreign security, returns True if ticker exists, False otherwise.
If ticker does not exist (and function returns false) price arrays are not changed at all."

Hope this helps.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "salil_gangal" <salil_gangal@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, November 15, 2003 5:11 PM
Subject: [amibroker] 'SetForeign' failure -- And what happens afterwards ?


> Friends,
> 
> What happens when 'SetForeign' function is called with a ticker that 
> does not exist ?
> 
> For example, what's returned by the call below ?
> 
> SetForeign("No_Such_Ticker", True, True );
> 
> Where "No_Such_Ticker" does not exist of course.
> 
> Also, what happens to the calls made 
> to 'RestorePriceArrays', 'Name', 'FullName', and 'GetExtraData' 
> *after* a call is first made to 'SetForeign' where the ticker given 
> as parameter does not exist ?
> 
> Regards,
> - Salil V Gangal
> 
> 
> 
> 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 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ 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 

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