Adding Price trigger in Quotes window using script
Author: bobydesi123
Creation Date: 4/17/2010 8:39 AM
profile picture

bobydesi123

#1
Hi,
I would like to programmaticaly accomplish the following.
1. Create Alerts from strategy.
2. Monitor Alerts created in Quote manager.
(steps 1 & 2 ..know how to do)
3. Once the selected alerts are in Quote Manager/window
- Can i programatically change/select the trigger price and threshold for each symbol in Quote pane/manager?
Seems like there should be a way to accomplish this..dont know where to begin. I tried searching forum with Quote...Quote Pane.. etc words and did not come up with anything. thank u.
profile picture

Eugene

#2
No, the Quotes window wasn't designed for programmatic access from Strategies.
profile picture

bobydesi123

#3
Hi Eugene.
Thxs for ur quick response. Thats too bad. It would be nice to set trigger programmaticaly,e.g. set trigger for daily/intra-day emas etc whose values are dynamic and changing. Any likely hood of this feature being available in future release?
profile picture

Eugene

#4
When dealing an application like WLP that has many users (and many hundred thousand lines of code), requests are unlikely to work this way. Let's start with the simple "what for?" first. Why'd you want to manipulate a Quote window (there could be many) in the context of systematic trading?
profile picture

bobydesi123

#5
Eugene,
The reason is i want to be able to dynamically update the trigger for each of the symbols in quote panel, usually close to 100+ symbols (doing it manually is very cumbersome and error prone). For example, i may want to scan through each of these symbols every 15min intraday and change the trigger so that i can detect BB Breakout etc. Or at EOD i can scan through my daily-charts and update the triggeres for likely support/resistance for the next day etc. I think what it requires is to read the quotes/triggers from a file(text? xml?) that my strategy will create and have quote pane reload/read from that file. Other direction, from Quote panel => to text is already possible using c&p. Thxs.
Ofcourse, if i can perform a intra-day scan on large numbers of stocks as in WL4..then this may not be necessary. However, right now, i can only do it for a limited numbers of stocks due to fidelity RT server limitation. I am aware that sometimes in summer the RT server problem will be fixed/improved..whatever that means.I dont know if after summer one will be able to RT scan symbols as it was possible in WL4.
By RT scan i mean iterating through a dataset containing large numbers of symbols in..say 5min intra-day scale with in a strategy.
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).