|
Vangelis M.
2011-12-16 19:16:46
|
|
Hello,
Can I specify account in a downloader Script?
I have setup a Stocks account and a futures account.
I have scheduled a script at night to download data for the stock (default) account.
I would like to run another script to start the downloader in the futures account.
Is that possible from Global Script or do I need to consolidated the two accounts?
Thanks
V.M.
|
|
|
|
QuantShare
2011-12-17 03:16:19
0
|
|
It is not possible to do that. However, it is possible to change an account from a script:
App.Main.ChangeUser("Account Name");
|
|
|
|
GS
2011-12-20 20:33:28
0
|
|
I also have the same question, so does this mean that using a script we can change the account name and then within that "new/different" account we can run the downloader automatically?
Actually I have three accounts, one for NSE_EOD, another NSE_Real_Time and one more for NCDEX_EOD. In general downloading data in NSE_Real_Time takes time (I do this in the every evening, after coming back from office). This process I wanted to run in the background, while continue to work on NSE_EOD account. Let me know how we can do this.
Best
GS
|
|
|
|
QuantShare
2011-12-22 13:41:28
0
|
|
Best Answer
Once an account is closed, all running threads are terminated and therefore it is no possible to do that.
We will maybe allow more than one instance of QuantShare. In that case you can use NSE_EOD account in the first instance and NSE_Real_Time account in the second one.
|
|
|
|
Seeker
2015-04-27 01:30:59
0
|
|
Any update on this thought of enabling multiple instances of QS? Thanks.
|
|
|
|
QuantShare
2015-04-28 03:25:14
0
|
|
Unfortunately, this is not something we are planning to add now.
|
|
|
|