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

[amibroker] Newbie - Trying to add ticker to DB


  • Date: Thu, 18 Feb 2010 06:48:48 -0000
  • From: "Sebastien" <dubois_sebastien@xxxxxxxxxxx>
  • Subject: [amibroker] Newbie - Trying to add ticker to DB

PureBytes Links

Trading Reference Links

Hi all,

  I am a complete newbie with AMIBroker and I'm trying some stuff using the evaluation version before purchasing.  I am trying to write a very simple VB 2008 program to communicate with the DB via OLE.

  The program just tries to add a ticker to the DB (see below).  When I run it, I see that the new ticker I add seems to be added to the DB, as the GetTickerList returns the ticker list correctly updated.  However, if I open AMIBroker itself, I do not see the ticker if I look to the Symbols->All tab.  Am I missing something?  Or is it because I am using a evaluation (non-registered) version ?

  I want to get a good grasp of the OLE interface before I purchase AMIBroker, as I am planning to make good use of it so I wat to make sure I can use it.

The program:

Module TestAMI
    Sub Main()
        ' Get ActiveX object for AMIBroker
        Dim oAB As Object
        oAB = CreateObject("Broker.Application")

        ' Try to access DB
        oAB.Stocks.Add("TEST")
        oAB.RefreshAll()
        System.Console.Write(oAB.Stocks.GetTickerList(0))
    End Sub
End Module


Thanks a lot in advance
Bass



------------------------------------

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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

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