Posted 9/2/2010 21:05:30
|
|
|
|
I use the Speech API to tell me that my trading conditions are close to being met. I then have to stop what ever I am doing go to the trading PC and find the appropriate symbol in the Live Data grid and double click it.
I would like to do the last step programmatically so I just have to glace to the trading PC monitor to see what it is about to trade.
Is there perhaps a brute-force way of doing this like pushing a double click event into the Live Data grid or something?
|
|
Posted 9/3/2010 10:39:19
|
|
|
|
Discretionary was designed to be completely manual. You have a couple of options, first, you could create a trading system that has its own user interface that would allow some semi-automation. This is probably a fairly significant undertaking (see the GUI based trading system under the trading systems section of the website). Getting the threading right is a bit of a pain, however, it gives you ultimate flexibility. The option you present of automating the GUI is possible but can be problematic from a maintenance perspective. If we change the GUI, we break your code. Of course, dealing with mouse coordinates is a pain too.
smersh (9/2/2010) I use the Speech API to tell me that my trading conditions are close to being met. I then have to stop what ever I am doing go to the trading PC and find the appropriate symbol in the Live Data grid and double click it.
I would like to do the last step programmatically so I just have to glace to the trading PC monitor to see what it is about to trade.
Is there perhaps a brute-force way of doing this like pushing a double click event into the Live Data grid or something?
|
|
Posted 9/3/2010 19:11:23
|
|
|
|
Sorry if I wasn't clear but I do not wish to do discretionary trading. My trading is fully automated.
All I need is a hook to tell the GUI to bring a chart to the foreground programmatically like this:
if(MA.Current > BuyThreshold - SomeSmallNumber)
. DisplayChart(Symbol)
DisplayChart(Symbol sym) would just do whatever double-clicking the Symbol in the Live Data grid currently does.
That's all.
Thanks
|
|
Posted 9/7/2010 10:49:16
|
|
|
|
| You were clear, my response should still be relevant.
|
|
Posted 9/7/2010 13:03:44
|
|
|
|
Basically, we don't have a simple way to do what you want. You could display your own window with your own charts, or try to simulate the action of double-clicking on an item in the live symbol list, but neither of these is particularly easy.
Daniel
|
|
|
|