Disable streaming from a script
Author: kazuna
Creation Date: 8/6/2009 2:24 PM
profile picture

kazuna

#1
I have multiple chart windows streaming and only one of them creates and closes a position. Once one creates a position, I want to disable streaming automatically on all other chart windows. Is there a way for the script to disable streaming on its own chart window?

The streaming chart window intermittently stops updating the chart (stuck in black window) and I would like to reduce the chance of it from occuring by disabling unnecessary streaming chart window.

I tried Abort() but it still keeps executing the script and updating the chart every time when new bar arrives.
profile picture

Cone

#2
QUOTE:
Is there a way for the script to disable streaming on its own chart window?
There's always a way, but someone will have to dig really deep to find it.

Tell me more about streaming updates stopping.
profile picture

kazuna

#3
QUOTE:
Tell me more about streaming updates stopping.
I don't know what's causing it but it does occur once for a week or so. It occured this morning and chart window stopped updating but stayed in black window. I had two WLPs running on two computers but both WLPs stopped updating the chart window at the same bar. So I guess it was an issue on Fidelity backend.
profile picture

Cone

#4
Sounds like a good guess - something centralized and external.
profile picture

kazuna

#5
Yes, I guess it is something external and I wanted to mitigate it.
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).