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

RE: [amibroker] Automation Object Model export.vbs



PureBytes Links

Trading Reference Links

Thank you Sir, that was fast.
Olli


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of dingo
Sent: Freitag, 17. Februar 2006 20:42
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Automation Object Model export.vbs

    set oStock = oStocks.Item(cstr(ticker))   ' Object value: nothing
d

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Ulrich Plett
Sent: Friday, February 17, 2006 2:22 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Automation Object Model export.vbs

Hi
I'm trying to write Tomasz Export.js script
in VBScript. I get an error message saying
something like no object returned.
I only get an object when I use oStocks.Item(0).
Please take a look at the attached script. Need help
Thanks
Olli

-------------------------------------------------------
  For each ticker in filenames
    WScript.Echo "Export of " & ticker & " start"
    set oStocks = oAB.Stocks
    set oStock = oStocks.Item(ticker)   ' Object value: nothing
<--------------------
    set oStock1 = oStocks(ticker)       ' Object value: nothing
<--------------------
    set oStock2 = oStocks.Item(0)       ' Object value: {...} Object
    Qty = oStock.Quotations.Count       ' <------------------------ error
message is here


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS