Click here to Login





                                                   Error/Failure when adding a time-based task

  0

0
Josh McCormick
2020-10-29 11:22:22


I've created a simple time-based task that triggers every five minutes, from 08:00 through 23:55, Monday through Friday. But when I add (or update) the task, I get a pop-up error (see screenshot). I click OK and then it says "Task updated". But the task never runs and the Task Manager shows the task but with no "Next run time". Any thoughts on what might be going wrong here?

SCREENSHOT: https://i.imgur.com/9doAJFf.png

Thanks,
Josh McCormick



Josh McCormick
2020-11-06 12:26:39

  0

Bump. I'd really like to make use of scheduled events.

The error also triggers when QuantShare starts up. The QuantShare v3.7.0 loading banner says, "Loading plugin : TaskManager". The pop-up says, "Error 21544: (1733,7): CalendarTrigger:". I click on OK and QuantShare continues loading.



QuantShare
2020-11-09 09:39:40

  1

Best Answer
Try to reduce the number of minutes (set it to 0 only) and see if this works. Also try using a single hour and see if that helps.
I am not sure what is causing this but in some Windows versions, some users have reported similar issue.



Josh McCormick
2020-11-15 20:07:26

  0

Success! I was able to schedule an event at two different times per hour before it triggered the error. So for a script to fire off every five minutes (during market hours), it looks like I'll have to... schedule it across six tasks? Okay. I think I can live with the workaround.

Thanks for the assist!
Josh McCormick



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Euronext Brussels - Historical Quotes
Market Breadth Indicator: Average On Balance Volume
Hull Moving Average Strategy - Multi Time Frame Trading System
Buy Falling Stocks Strategy
Intraday Data for NSE Stocks

How-to Lessons
How to change volume bar colors when the price closes down
How to speed up watchlist and screener plug-ins when working with...
How to download new quotes when selecting a chart
How to use QuantShare with Metastock data
How to quickly add a ticker symbol

Related Forum Threads
How can I avoid UAE prompts when launching from the QS Task Manag...
adding indicators to panes
Task Manager will not start
how to add buy condition when the color change
adding more pane in chart

Blog Posts
9 mistakes you should avoid when backtesting an end-of-day stock ...
Adding Trading Indicators and Formulas to a Chart
Running QuantShare on Amazon's EC2 Cloud & Automate Strategies Si...
6 techniques to improve the performance of your stock trading str...
Different Ticker Symbols for Each Data Source









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 © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.