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

Re: [amibroker] Re: help on basic quote importing needed



PureBytes Links

Trading Reference Links

thanks tuzo.

for some reason, that didnt work for me either...

tuzo_wilson <j.tuzo.wilson@xxxxxxxxx> wrote:
--- In amibroker@xxxxxxxxxps.com, "invlearn" <invlearn@xx.> wrote:

> so i am stuck with writing a script to automatically import quotes
> into ami, i dont see the updated quotes in ami after i run the script,
> even though i dont get any errors in running the script. please
> provide guidance.

Try

AmiBroker.SaveDatabase()

after importing all files.

I've also seen situations where multiple broker.exe processes exist
and the current broker.exe UI does not update. So, now I launch all
scripts from within AmiBroker via Custom Tools menu items.

Tuzo

> script :
>
> importMyData();
> function importMyData()
> {
> quotefile = "quotes.csv"
>
> AmiBroker = new ActiveXObject( "Broker.Application" );
>
> AmiBroker.Import( 0, quotefile, "myformat.format" );
> AmiBroker.RefreshAll();
> AmiBroker.SaveDatabase();
> }



Bring your gang together - do your thing. Start your group. __._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___