While I'm running a strategy in Strategy Monitor, I'm occasionally (a few times a day) getting an error saying:
QUOTE:
The remote server returned an error: (500) Internal Server Error.
Unable to get Data on Damand for Symbol: QLD
[OK]
The problem is that Strategy Monitor keeps waiting for updating the symbol (Action - Updating: QLD) and stops running this strategy until I click [OK]. If I click [OK] and close this popup, the next update works just fine. However, I cannot run the strategy completely unattended for this reason.
Is there any way to suppress this popup and keep the strategy running?
Size:
Color:
QUOTE:
Is there any way to suppress this popup and keep the strategy running?
Not that I know of, and I've seen the same error stopping data updates as well.
We're already tracking the problem with Fidelity for data updates for which it's not critical to see that error since the status of each update is already recorded. On the other hand, if you're running the Monitor, you'll want to know if there's an error retrieving data for a symbol. There might be a better way to make the user aware, I'm not sure but we'll investigate it.
Anyway, the source of the problem is the server, so you can try connecting to a different server by logging off (restarting for WLP 5.3 and prior) and back on. If the problem persists for more than a day or two, call Fidelity directly for data problems.
Size:
Color:
QUOTE:
Not that I know of, and I've seen the same error stopping data updates as well.
Isn't it possible for Strategy Monitor just keeps updating the data regardless of the error? Otherwise, I cannot prevent the worst scenario heppening from the code and it's very critical for intraday trading.
QUOTE:
There might be a better way to make the user aware, I'm not sure but we'll investigate it.
One idea would be to record the error in the Alerts Pane or on the Status Bar of Strategy Monitor or WLP main window.
QUOTE:
the source of the problem is the server, so you can try connecting to a different server by logging off (restarting for WLP 5.3 and prior)
The problem persists for the last three days but only a few times a day and so using a different server doesn't seem solving the problem. In fact, I restart WLP every night to make sure things start from fresh in the morning.
Size:
Color:
QUOTE:
Is there any way to suppress this popup and keep the strategy running?
As a workaround, what about employing (or creating from scratch) an AutoIt/VBScript/PowerShell/etc script?
Here's an example of what I mean:
How Can I Block This IE Warning From Appearing..?
Size:
Color:
QUOTE:
As a workaround, what about employing (or creating from scratch) an AutoIt/VBScript/PowerShell/etc script?
Sounded like a good idea but doesn't seem to work for this particular popup because this dialog box doesn't have a caption which the tools rely on identifying the popup.
Size:
Color:
CODE:
Please log in to see this code.
The Alerts pane won't work, but the Status Bars is a good idea, however probably not visible enough. I think putting up a big red button that you have to click to see the messages is another alternative to creating an entire Errors view.
QUOTE:
The problem persists for the last three days
I noticed it from last weekend too. You should call Fidelity to make sure they know many customers are experiencing the same problem. Maybe they'll have a solution for you.
Size:
Color:
QUOTE:
I think putting up a big red button that you have to click to see the messages is another alternative to creating an entire Errors view.
Sounds good. However, I still prefer an advanced option where I can suppress any application popup which prevents the strategy keeps running.
Size:
Color:
It's not going to run without any data. That's the whole point. The message is informing you of a data error.
Size:
Color:
But if it is just one time error (that's what I'm seeing) you can get the data at next bar and you can keep running the strategy.
Size:
Color:
I was able to workaround this using Auto-It. It seems working fine.
Size:
Color: