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

[amibroker] Re: AmiBroker and TC2000



PureBytes Links

Trading Reference Links

I don't understand. You should be able to stick any type of data 
field in to a variant, yes?
I've never tried an array of strings in vb or vbscript, so perhaps 
the problem lies there.

I wrote an amibroker script to import a bunch of .csv files each one 
into its own watchlist. It is clumsy but it works. I used the ascii 
import stocks method and referenced a separate format file for each 
watchlist. 

This method won't solve your desire to read TC2000 watchlists 
dynamically, but it does save repetitive keystrokes.

I think the Fast Track plug in reads the user's watchlists, but I 
could be wrong. I know it sets up the Fast Track fund families 
inside AB. 

downhillspeedster

--- In amibroker@xxxxxxxxxxxxxxx, "jvarn359" <jvarn359@xxxx> wrote:
> --- In amibroker@xxxxxxxxxxxxxxx, "Metasan" <mdhuang@xxxx> wrote:
> > However, it still has one important 
> > thing missing: synchronizing (at least importing) 
watchlists/scans 
> > with TC2000. Now when I have to do is manually export a 
watchlist 
> to 
> > text file from TC2000 and import it to AB. It may be OK to do a 
few 
> > lists but very time consuming to sync many lists expecially 
those 
> > list are generated dynamically. I have looked at the TCDK 
(TC2000 
> > developer's kit), and it does expose watchlists. Is future 
release 
> of 
> > TC2000 plug-in going to include watchlist import/export?
> 
> M.T.,
> 
> I tried to something similar using vbscript a year?
> two years? ago. I gave up. Arrays in vbscript are limited
> to "safearrays" of type VARIANT. It appears that the
> visual basic arrays in TC2000 aren't VARIANT, they're
> declared with explicit types. So when you try to 
> load the TC2000 array of watchlist data into a vbscript
> array, you get a type mismatch error.
> 
>  -- Jim V.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/