Thanks Aron, I'll give it a go. Funny in the documentation stock.item( ) doesn't take a string. :O
-S
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]
Sent: Friday, February 05, 2016 4:53 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] OLE Question
var Stock = Stocks.Item ( "AAPL");
if ( Stock )
WScript.Echo ( Stock.Ticker + "\t" + Stock.Quotations.Count );
else
WScript.Echo ("Symbol not in Database");
On 2/5/2016 8:16 PM, 'Sean ONeill' oneillseanp@verizon.net [amibroker] wrote:
What should I do? Is there an override so that it won't get added if it doesn't exist.
__._,_.___
Posted by: "Sean ONeill" <ONeillSeanP@verizon.net>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (11) |
**** 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/
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/
.
__,_._,___
EmoticonEmoticon