Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Twsapi
- Messages
Search
Ways of filtering bad quotes from TWS
mbluhm2001
I have been getting a price quote of zero for some of the stock
tickers throughout the trading day. So I decided to put in a filter and wanted to see if anyone else had any better ideas. The way I'm trying it is the following: IF the current price quote is greater than or less than the previous quote by X% and the error counter is less than Y THEN throw away the quote and increment the error counter ELSE use the price quote and clear the error counter The idea is to set some min and max % (i'm starting with 5%) that the quote can be outside the previous quote. But to handle gaps, if the quote is out of range Y number of times (i'm starting with 5) then use that new quote. Also I don't allow quotes that are a value of zero either. Any thoughts would be helpful. Thanks, Mark |
Re: TraderGuard
cyberbri_2000
I like this concept, kinda what I had mentioned earlier about a
toggle quoted message
Show quoted text
program to monitor my open stock positions, then keep track of a trailing ATR stop for each position, then either alert, update an existing stop order or send a sell order when triggered. Ideally such a program would allow mutiple, user selectable stops for each position, like moving averages, relative strength, etc. I could even see having a "reserve" list of stocks, where the next one in line could be sent as a buy order as soon as the last sell goes through, or better yet go through that list and select the one to buy that has the strongest real time TraderBot short term rating... txtSymbol=F , which I can easily grab off the web. I would only have to select the strongest stock candidates and put them in that reserve list. It would work like an automatic revolving door of trades... I spend the time in the stock selection, using fundamental and/or technical criteria I already use, then release them to the reserve list for however long I want to keep them there... daily, weekly, etc. From the API docs and the samples in the Files section, I have most everything I need to get something working for stocks. Shouldn't be too long from now before I start transferring it from my brain to the keyboard :) Brian FIELDS: |
Re: twsapi: Re: automated login
Carl Erikson
Sorry, I was incorrect. The Password field works just
as you say. Thanks for the correction, Carl --- tripack44 <no_reply@...> wrote: --- In twsapi@y..., Carl Erikson <carlerikson@y...> __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free |
Re: automated login
tripack44
--- In twsapi@y..., Carl Erikson <carlerikson@y...> wrote:
A hack is to send keystrokes to the login window. Are you sure there is no pre-fill in? I just tried it with password field added such as the following example (: [Logon] Username=pfloyd5 Password=darkside and it worked. This is the jts.ini file in the \jts directory. |
Re: automated login
kevin6502
There is an entry in the IB board that addresses this. The solution
is to send a carriage return event to the dialog box when it pops up. The trick is knowing which window(dialog box) to send it to. His solution was to find a window with a certain name (TWS_whatever), meaning he would search for 60 seconds, then send a CR to that window. Check out the IB board about a week or two back. Kevin --- In twsapi@y..., "kgeis" <kgeis@y...> wrote: If you could keep TWS running 24/7 and login automatically, then IBwrote: doYou are among a large group of users who would like to be able to accountthis, me being one of them... we log on to... |
Re: automated login
If you could keep TWS running 24/7 and login automatically, then IB
toggle quoted message
Show quoted text
wouldn't be able to differentiate its professional service (which requires $2400 minimum commission per month.) An unfortunate situation for us TWS users who want to do a little bit more. --- In twsapi@y..., "marinindextrader" <marinindextrader@y...> wrote:
You are among a large group of users who would like to be able to do |
TraderGuard GE NQ ES -Quick Reference
traderguard
This is just a quick manual how to use the program, if you haven't
figured it out on your own: Right top corner is where you enter symbol and expiry and exchange- Do that manually before clicking "Connect". You have 2 fields: LONG & SHORT: BUTTONS: "Long" button- buy at ask "Sell" button - sell at bid "Reverse" button - reverse from +1 to -1 with one click "Cancel" button - cancel last pending order FIELDS: "Acceptable risk" button - how much you are willing to risk in points. YOU CAN ADJUST THIS VALUE FREELY WHILE WATCHING THE MARKET. Guard will autoadjust itself to your new settings. "Bought" button - the price you bought the contract for "Price now" - the last price "Recent profit" - Displays approximate profit or loss "Guard Scalping Long" - Controlled by program; No user input required "Risk Monitoring" - is the sell trigger. If risk monitoring=acceptable risk, then Guard will autosell MRK to avoid loss or to collect profit. BUT ONLY IF "ENABLED PROTECTION WITH ACCEPTABLE RISK" BOX IS CHECKED That's all is. SHORT works the same way when you're going short. Sorry for the quick manual, but I don't have the time to write the help files at this point. I hope this helps. Try it on IB Commodities Demo, you will easily figure it out and get good at it. MOST CRITICAL FOR AUTOPROTECTION IS YOUR "Acceptable Risk" SETTING. I suggest to go higher before clicking "Long", and then adjust to your needs. Thank you, AMJ |
Re: twsapi: TraderGuard GE NQ ES -Quick Reference
Eduardo J Motta
Does it requires a minimum IB TWS interface ? What it optized for a
specific Build. What happens if WE upgrade the TWS interface ? ------------- Segue mensagem original ------------- De: traderguard <no_reply@...> Data: Wed, 03 Jul 2002 00:25:58 -0000 Para: twsapi@... Assunto: twsapi: TraderGuard GE NQ ES -Quick Reference This is just a quick manual how to use the program, if you haven't figured it out on your own: Right top corner is where you enter symbol and expiry and exchange- Do that manually before clicking "Connect". You have 2 fields: LONG & SHORT: BUTTONS: "Long" button- buy at ask "Sell" button - sell at bid "Reverse" button - reverse from +1 to -1 with one click "Cancel" button - cancel last pending order FIELDS: "Acceptable risk" button - how much you are willing to risk in points. YOU CAN ADJUST THIS VALUE FREELY WHILE WATCHING THE MARKET. Guard will autoadjust itself to your new settings. "Bought" button - the price you bought the contract for "Price now" - the last price "Recent profit" - Displays approximate profit or loss "Guard Scalping Long" - Controlled by program; No user input required "Risk Monitoring" - is the sell trigger. If risk monitoring=acceptable risk, then Guard will autosell MRK to avoid loss or to collect profit. BUT ONLY IF "ENABLED PROTECTION WITH ACCEPTABLE RISK" BOX IS CHECKED That's all is. SHORT works the same way when you're going short. Sorry for the quick manual, but I don't have the time to write the help files at this point. I hope this helps. Try it on IB Commodities Demo, you will easily figure it out and get good at it. MOST CRITICAL FOR AUTOPROTECTION IS YOUR "Acceptable Risk" SETTING. I suggest to go higher before clicking "Long", and then adjust to your needs. Thank you, AMJ To unsubscribe from this group, send an email to: twsapi-unsubscribe@... Your use of Yahoo! Groups is subject to |
Re: twsapi: Trader Guard - ES NQ - 23MB program - get it from website.
Quenton Nolte
开云体育Do you have any instructions.? I loaded it and
I'm not sure how to use it.? It appears to enter orders on the TWS but not
execute them.? Is it an alert system?
?
Quenton Nolte
|
Re: twsapi: Re: automated login
Espelly Vincent
You may try WINTASK, it could help you very well ?!!! tripack44 wrote: I have a couple of programs that do this in VB. Unfortunately they |
Re: twsapi: automated login
Carl Erikson
A hack is to send keystrokes to the login window.
Pass your username as separate keystrokes. Then send a tab key. Then send your password as separate keystrokes. Then send a return. There is a setting to pre-fill the username in the .ini file (sorry, no pre-fill for the password): [Logon] Username=edemo . . . If you pre-filled in the username you can just send a tab and then the password plus a return key. I send characters to windows with Perl, but you can do it in almost any language (Visual Basic, C++). I believe you can detect when the "Accept incoming connection" window pops up. If that is possible you might just be able to send the enter key to it to accept the connection. I haven't tried this yet. Good luck, Carl --- Michel <migurull@...> wrote: Hi, __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free |
Re: twsapi: Re: LINK to: TraderGuard , IB TWS scalping tool
Shukrainternationals
toggle quoted message
Show quoted text
|
Re: twsapi: LINK to: TraderGuard , IB TWS scalping tool
Shukrainternationals
toggle quoted message
Show quoted text
|
RE : twsapi: Re: LINK to: TraderGuard
marinindextrader
Matt..........How in the world?
...I completeley agree with you on this post and your subsequent... How in the world does something so simple end up using or being 23 MB??? A full install of Qcharts is 13 MB A full install of Erlanger Quote is 9 MB A full install of WealthLab is 13.5 MB A full install of TWS is 5.3 MB I wonder if this was not written using less then Pro VB and is not optimized? Anyway... I believe that no one in their right mind is gonna fork over 150 bucks on a software that they are unable to test on the securities they trade...hasn't been scrutinized and stressed by a beta team...and appears to consume resources at a prodigious rate out of step with the task it accomplishes...is a black box that has no documentation, no help file, no accompanying test results on performance....and whose install process attempts to overwrite duplicate OCX instead of checking mereley for their instance in the sys files... etc etc Hate to blow your bubble...sorry Scott --- In twsapi@y..., "Matt" <mbriand@i...> wrote: Super....You can only trade GE and if you want to try it for NQ &ES you havedemo for NQ |
twsapi: Re: automated login
marinindextrader
Then again...if you do have the time...
he he Or If I get my hands on that code I will make a module for VB that plugs in Scott --- In twsapi@y..., "Michel" <migurull@t...> wrote: Thanks 'tripack44'.code. If you want, just copy relevant parts of your code and I'll do with it.a project or two and write up some documentation if I find the time |
Re: twsapi: Re: automated login
Michel
开云体育Thanks
'tripack44'.
If you
dont have time, I dont need documentation, nor 'sanitized' code. If you want,
just copy relevant parts of your code and I'll do with it.
?
Michel
|
to navigate to use esc to dismiss