Click here to Login





How to execute a script at regular intervals

Updated on 2011-11-12 03:41:50

Share |

Let us first create the script that we will run at regular intervals.

- Select "Tools" then "Script Editor"
- Select "File" then "New"
- Type the script name then click on "OK"
- Type the following line:

Downloader.StartDownloader("[name]");

- Replace [name] by the download item name. Here, we want to execute a downloader at regular intervals.
- Save the script by selecting "File" then "Save"

For the execution part, we must create a time-based task.

- Select "Tools" then "Task Manager"
- Click on "Click here to add a task"
- If you want to run the script once an hour then you must do the following actions:

- Click on "Select all hours", "Select all weeks" and "Select all months" then click on "0" under "Minute" panel.

- Under "Script" panel, click on "Add" then select the previously created script
- Under "Task" panel, give a name to this task then click on "Add" to add the task to QuantShare trading software and to the Windows task manager










no reviews (Log in)







Other how-to articles




How to hide stock data outside of regular trading hours





How to get stocks for a particular index using the global script





How to run a screen or a watchlist from a script





How to rename a ticker symbol





How to create a custom trading indicator





How to add a metric in the trading system simulation report





How to get trading orders from a portfolio programmatically





How to plot put/call ratio of individual stocks





How to perform a basic quantitative analysis using the S&P 500







QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items