I've been using Excel via IB's DDE connection for a year or so. Excel does my calcs and I use a grid on my 2nd monitor to display the symbol if the stock meets the criteria and a blank cell if not. The problem with this approach is that I have to keep peaking at the 2nd monitor to see if anything new has appeared and this interrupts my focus. To avoid this, I added an audio to beep me if a symbol appears in the grid. This works fine... well, sort of.
The problem I'm having is that for a symbol meeting the criteria, for the fraction of a second that it takes for a quote to change, the computer interprets that as a value of zero and with every change of the asked price, the conditional test goes from positive to negative and back to positive and beeps again (if it initially positive).
As a simplistic example, suppose I wanted to know when the bid/ask (B/A) difference is greater than 20 cts. That's simple. If (A-B) > .20 then test is true and it beeps once. If the ask goes up by a penny, for that fraction of a second b/t prices displayed, the computer thinks that the asked price is zero and (A-B) becomes negative and the conditional test is false. Now when the new asked price appears, if the condition is met again, it beeps again. IOW, every price change that occurs when the condition is being met results in a beep. When you have 100+ symbols being evaluated, it turns out that the beep symphony is a lot worse than occasionally glancing at the 2nd monitor - particularly in a fast market
For the life of me, I can't figure out a set of conditional tests that gets around this problem. I appreciate any suggestions and keep in mind, my math skills are fine but my Excel skills s*ck so if you have an Excel solution, extra bread crumbs please. TIA
The problem I'm having is that for a symbol meeting the criteria, for the fraction of a second that it takes for a quote to change, the computer interprets that as a value of zero and with every change of the asked price, the conditional test goes from positive to negative and back to positive and beeps again (if it initially positive).
As a simplistic example, suppose I wanted to know when the bid/ask (B/A) difference is greater than 20 cts. That's simple. If (A-B) > .20 then test is true and it beeps once. If the ask goes up by a penny, for that fraction of a second b/t prices displayed, the computer thinks that the asked price is zero and (A-B) becomes negative and the conditional test is false. Now when the new asked price appears, if the condition is met again, it beeps again. IOW, every price change that occurs when the condition is being met results in a beep. When you have 100+ symbols being evaluated, it turns out that the beep symphony is a lot worse than occasionally glancing at the 2nd monitor - particularly in a fast market
For the life of me, I can't figure out a set of conditional tests that gets around this problem. I appreciate any suggestions and keep in mind, my math skills are fine but my Excel skills s*ck so if you have an Excel solution, extra bread crumbs please. TIA
