PureBytes Links
Trading Reference Links
|
thanks again mark!
herman
Mark Hike wrote:
Stocks_.Remove(symol)
would do.
You may want to call AB.SaveDatabase() afterward to make your change
persistent.
On Fri, Oct 2, 2009 at 10:57 AM, Herman <psytek@xxxxxxxx>
wrote:
yes Mark :-) that looks easy and i will try it.
Is it just as easy to remove a stock from the DB?
I just like to replace all tickers in my trading DB with the new ones
for the day, so that i don't exceed my streaming Ticker Quota.
thanks for the expertise!!!
herman
Mark Hike wrote:
Herman, that's something relatively easy
to achieve.
Here is a piece of code to add a new ticker to database.
(It has no effect if the ticker already exists)
AB = CreateObject("Broker.Application");
Stocks_ = AB.Stocks;
Stock_ = Stocks_.Add(symol);
// AddToComposite won't work if datasource is not local
Stock_.DataSource = 1;
- Mark
On Fri, Oct 2, 2009 at 5:21 AM, Herman <psytek@xxxxxxxx> wrote:
Is there anyway to load a Watchlists from a .tls file (using
inline afl)
so that tickers that are not yet in the DB are automatically added?
This would simplify a lot of my operations...
Many thanks for any help you can give!
herman
__._,_.___
**** 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/
__,_._,___
|
|