Strategy stops updating for Internal Server Error
Author: kazuna
Creation Date: 5/12/2009 10:04 AM
profile picture

kazuna

#1
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?
profile picture

Cone

#2
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.
profile picture

kazuna

#3
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.
profile picture

Eugene

#4
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..?
profile picture

kazuna

#5
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.
profile picture

Cone

#6
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.
profile picture

kazuna

#7
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.
profile picture

Cone

#8
It's not going to run without any data. That's the whole point. The message is informing you of a data error.
profile picture

kazuna

#9
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.
profile picture

kazuna

#10
I was able to workaround this using Auto-It. It seems working fine.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).