开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date

Poll Suggestion _ Request IB to provide ...

techguy1313
 

I would like to suggest a poll:

Would you like to Request / Petition IB to make a fully viable Paper
Trading Server which will run on delayed data 24 / 7 for the purposes
of Trading System testing? (or something similar - the wording could
vary)

Currently trades instigated on the IB Demo server evaporate when the
server shuts down. The responsibility of tracking trades for the
purpose of Trading System testing resides with the User on the Client
side.

Wouldn't it be nice if IB provided it's customers with a fully closed
loop ATS server for the purposes of ATS fine tuning and System
testing? Email confimration, etc...

Your thoughts solicited.

Techguy


TraderGuard or similar

marwanco
 

开云体育

Hi,

Is Tradeguard an Automated buy/sell programe? That can work by it self ?for long time buying /selling on pre-set rule?

Any other such software available (and that works) on Internet?

Are they reliable?

?

Thanks

?



Re: twsapi: TraderGuard , IB TWS - Important msg!

Richard Foulk
 

} I am honestly upset at some of the comments written about
} TraderGuard. It seems as though instead of checking the program's
} abilities and value, some are discussing irrelevant issues, such as
} the size of the program, speculations of hidden trojans, and other
} hidden agendas. Let me respond to some of those comments:

Well gosh, advertising a product on the TWSAPI group is upsetting
to some of us.

That's not what the group was created for.

Spammers are often dealt with harshly -- don't be surprised.


Richard


Re: RE : twsapi: Re: LINK to: TraderGuard

Richard Foulk
 

} 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
}

Yep, $150 is pretty ridiculous. Especially when there are other
packages that do much more for that price.

And yes, the enormous size is an indicator that the programmer doesn't
know what he's doing.

Once the API matures (comes out of beta) there will no doubt be many
such packages. And many will be free and with source code so the user
can adapt them to their needs, and be able to trust the code.


Richard


Re: twsapi: TraderGuard , IB TWS - Important msg!

Rich
 


" If I could do that, I would write a program to the
show chart of tomorrow today. "

So when can I expect to see the Beta version?


Join Excite! -
The most personalized portal on the Web!


Re: Modify Order Without Transmit

marinindextrader
 

The place order call need not be called then.

When you are using the standard TWS, and you craft up an order on the
grid, that order is nothing more than an array in a memory slot
somewhere.

When you tag the transmit button it is then sent. Internally the TWS
has executed the place order call.

If what you want to do is emulate this behaviour, then create an 2
dimensional variant array in memory, and store your unsent but ready
to go orders. You can display this information however you see fit:
grids, labels etc...

Then like in TWS, you selected the displayed order and give it focus,
and then you send it with a transmit command.

Hope this helps

Scott


--- In twsapi@y..., "Bob Stevens" <rsteve42@b...> wrote:
I am trying to modify an order without transmitting it. However,
TWS
transmits the order on the update, even with the Transmit property
False. I
am using VB with the ActiveX control, and the TWS demo for
testing. Here is
the scenario:

o Call PlaceOrder to place a buy limit order, no transmit. This
works.
Let's say the order ID is 72.
o Call PlaceOrder again with the same order ID (72), changing the
limit
price, again with no transmit. The limit price is changed in TWS,
but TWS
transmits the order.

Any ideas?

Thanks


Modify Order Without Transmit

 

I am trying to modify an order without transmitting it. However, TWS
transmits the order on the update, even with the Transmit property False. I
am using VB with the ActiveX control, and the TWS demo for testing. Here is
the scenario:

o Call PlaceOrder to place a buy limit order, no transmit. This works.
Let's say the order ID is 72.
o Call PlaceOrder again with the same order ID (72), changing the limit
price, again with no transmit. The limit price is changed in TWS, but TWS
transmits the order.

Any ideas?

Thanks


Re: Tip for Yahoo Users Email Managment

marinindextrader
 

Dude....it should route all other mail to the "other folder", this
mail should route to the in box direct....

Your banned

heheheh

LOL

just kidding

Scott

--- In twsapi@y..., "techguy1313" <techguy1313@y...> wrote:
If you are a Yahoo Email User, the following tip may help you
manage
the intense mail flow from this User Group.

Set an Email Mail Management filter to route Group Mail to an
individual folder:

1. From the Yahoo Mail Sidebar, click on Options.
2. Select Filters from under the Mail Management Header.
3. Select Create.
4. Go to: Subject <contains> the phrase <twsapi>.
5. Select Deliver Message to <New Folder>.
6. An Explorer User Prompt will pop up. Put in the name of the
Folder
you would like your mail delivered to, i.e. TWSAPI Yahoo Group
Mail.
<OK>.

The Filter list will now show your new routing filter. All Group
mail
will now route to this folder.

Hope this helps un-clutter your life.


Tip for Yahoo Users Email Managment

techguy1313
 

If you are a Yahoo Email User, the following tip may help you manage
the intense mail flow from this User Group.

Set an Email Mail Management filter to route Group Mail to an
individual folder:

1. From the Yahoo Mail Sidebar, click on Options.
2. Select Filters from under the Mail Management Header.
3. Select Create.
4. Go to: Subject <contains> the phrase <twsapi>.
5. Select Deliver Message to <New Folder>.
6. An Explorer User Prompt will pop up. Put in the name of the Folder
you would like your mail delivered to, i.e. TWSAPI Yahoo Group Mail.
<OK>.

The Filter list will now show your new routing filter. All Group mail
will now route to this folder.

Hope this helps un-clutter your life.


Re: twsapi: automated login

marinindextrader
 

This thread has been archived in the Bookmarks Section, within the
Board Threads Folder. From time to time exhaustive discussions that
stay on topic will be archived to this folder.

Scott


--- In twsapi@y..., "David" <kotomo@p...> wrote:
Thanks tripack44
this is good info...

----- Original Message -----
From: tripack44
To: twsapi@y...
Sent: Wednesday, July 03, 2002 11:57 PM
Subject: Re: twsapi: automated login


No, a while back I tried that but it was a no-go with TWS. I gave
it
up and finally just bought a router. Life is so much simpler now.

--- In twsapi@y..., "David" <kotomo@p...> wrote:

> Also, anyone running Proxy succesfully?? (Proxy from AnalogX)
> That's why I don't have the time.
> David



Yahoo! Groups Sponsor
ADVERTISEMENT



To unsubscribe from this group, send an email to:
twsapi-unsubscribe@y...



Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


Re: twsapi: automated login

David
 

开云体育

Thanks tripack44
this is good info...
?

----- Original Message -----
From: tripack44
Sent: Wednesday, July 03, 2002 11:57 PM
Subject: Re: twsapi: automated login

No, a while back I tried that but it was a no-go with TWS. I gave it
up and finally just bought a router. Life is so much simpler now.

--- In twsapi@y..., "David" <kotomo@p...> wrote:

> Also, anyone running Proxy succesfully?? (Proxy from AnalogX)
> That's why I don't have the time.
> David




To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .


Re: twsapi: automated login

tripack44
 

No, a while back I tried that but it was a no-go with TWS. I gave it
up and finally just bought a router. Life is so much simpler now.

--- In twsapi@y..., "David" <kotomo@p...> wrote:

Also, anyone running Proxy succesfully?? (Proxy from AnalogX)
That's why I don't have the time.
David


Re: twsapi: Re: automated login

ax
 

Possible alternative to WinTask?

----- Original Message -----
From: "bee_jay_61" <no_reply@...>
To: <twsapi@...>
Sent: Wednesday, July 03, 2002 5:41 AM
Subject: twsapi: Re: automated login


Voila ;-)






To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to


Re: twsapi: automated login

David
 

开云体育

this is the way to do it considering the situation
well done
David

----- Original Message -----
From: bee_jay_61
Sent: Wednesday, July 03, 2002 8:03 PM
Subject: Re: twsapi: automated login

That?s why I start a new separate thread in my program to confirm
the "Accept incomming connection attempt" dialog.

First I start the thread that searches the window for about 60
seconds (or more if you need). Than I call TWS.Connect from the main
thread while the child thread has allready began his search.

This call will force the TWS to display the dialog and than the child
thread can find this window. So the main thread (main program) is
never blocked like in your case.

It is not a security feature from IB.

BeeJay




--- In twsapi@y..., "Michel" wrote:
> Thanks Carl.
> I've tried it in VB but it does not work. I've not tried it with
the login
> window but with the 'connection confirmation' window there are
various
> problems.
> In my code, first I pass the focus to TWS (AppActivate) and then I
try to
> send it keys (SendKey) (ENTER key in this case).
> First problem is when in your code you issue a connection command
> (ActiveX.connect), TWS seems to catch you in a program loop and
dont return
> to your calling program until you manually click 'Yes' or 'No' in
this
> window so any code after 'connect' (AppActivate and SendKeys),
simply dont
> execute.
> To turn around this problem, I made a separate litle application
> (IBActivation.exe) which simply makes this:
> 1- Tempo 1 second.
> 2- AppActivate "Stock and options..." (this is the title of the TWS
window)
> 3- Tempo 1 second.
> 4- SendKeys "{ENTER}"
> Then in my main code:
> ShellExecute "IBActivation.exe"
> TWS.connect
> ... and get a system error when IBActivation.exe tries to activate
and/or
> send keys. (It works if TWS is runing normally, but not when
presenting the
> 'connection confirmation' window)!
> So I thought this behaviour was implemented by IB for some security
reason
> to be sure that a connection to the program is really made by the
account
> owner. (There is a security problem if you automate login and
connection
> because everybody having your program or access to your PC can
connect to
> your account).
>
> Here I am...
> I'll try this for the login window and post results here.
>
> Thanks again.
> Michel.
>
>
> [Michel]? -----Mensaje original-----
> De: Carl Erikson [mailto:carlerikson@y...]
> Enviado el: martes, 02 de julio de 2002 22:24
> Para: twsapi@y...
> Asunto: Re: twsapi: automated login
>
>
>?? 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



To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .


Re: twsapi: automated login

bee_jay_61
 

That?s why I start a new separate thread in my program to confirm
the "Accept incomming connection attempt" dialog.

First I start the thread that searches the window for about 60
seconds (or more if you need). Than I call TWS.Connect from the main
thread while the child thread has allready began his search.

This call will force the TWS to display the dialog and than the child
thread can find this window. So the main thread (main program) is
never blocked like in your case.

It is not a security feature from IB.

BeeJay




--- In twsapi@y..., "Michel" <migurull@t...> wrote:
Thanks Carl.
I've tried it in VB but it does not work. I've not tried it with
the login
window but with the 'connection confirmation' window there are
various
problems.
In my code, first I pass the focus to TWS (AppActivate) and then I
try to
send it keys (SendKey) (ENTER key in this case).
First problem is when in your code you issue a connection command
(ActiveX.connect), TWS seems to catch you in a program loop and
dont return
to your calling program until you manually click 'Yes' or 'No' in
this
window so any code after 'connect' (AppActivate and SendKeys),
simply dont
execute.
To turn around this problem, I made a separate litle application
(IBActivation.exe) which simply makes this:
1- Tempo 1 second.
2- AppActivate "Stock and options..." (this is the title of the TWS
window)
3- Tempo 1 second.
4- SendKeys "{ENTER}"
Then in my main code:
ShellExecute "IBActivation.exe"
TWS.connect
... and get a system error when IBActivation.exe tries to activate
and/or
send keys. (It works if TWS is runing normally, but not when
presenting the
'connection confirmation' window)!
So I thought this behaviour was implemented by IB for some security
reason
to be sure that a connection to the program is really made by the
account
owner. (There is a security problem if you automate login and
connection
because everybody having your program or access to your PC can
connect to
your account).

Here I am...
I'll try this for the login window and post results here.

Thanks again.
Michel.


[Michel] -----Mensaje original-----
De: Carl Erikson [mailto:carlerikson@y...]
Enviado el: martes, 02 de julio de 2002 22:24
Para: twsapi@y...
Asunto: Re: twsapi: automated login


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


Re: twsapi: automated login

David
 

开云体育

Michel,
what bee-jay-61 has done it was using Win Api's not the VB code itself.
I'll post the code after i get around my problems and have more time to do it.
Also, anyone running Proxy succesfully?? (Proxy from AnalogX)
That's why I don't have the time.
David

----- Original Message -----
From: Michel
Sent: Wednesday, July 03, 2002 7:33 PM
Subject: RE: twsapi: automated login

Thanks Carl.
I've tried it in VB but it does not work.?I've not tried it with the login window but with the 'connection confirmation' window there are various problems.
In my code, first I pass the focus to TWS (AppActivate) and then I try to send it keys (SendKey) (ENTER key in this case).
First problem is when in your code you issue a connection command (ActiveX.connect), TWS seems to catch you in a program loop and dont return to your calling program until you manually click 'Yes' or 'No' in this window so any code after 'connect' (AppActivate and SendKeys), simply dont execute.
To turn around this problem, I made a separate litle?application (IBActivation.exe) which simply makes this:
1- Tempo 1 second.
2- AppActivate "Stock and options..." (this is the title of the TWS window)
3- Tempo 1 second.
4- SendKeys "{ENTER}"
Then in my main code:
ShellExecute "IBActivation.exe"
TWS.connect
... and get a system error when IBActivation.exe tries to activate and/or send keys. (It works if TWS is runing normally, but not when presenting the 'connection confirmation' window)!
So I thought this behaviour was implemented by IB for some security reason to be sure that a connection to the program is really made by the account owner. (There is a security problem if you automate login and connection because everybody having your program or access to your PC can connect to your account).
?
Here I am...
I'll try this for the login window and post results here.
?
Thanks again.
Michel.
?

[Michel]??-----Mensaje original-----
De: Carl Erikson [mailto:carlerikson@...]
Enviado el: martes, 02 de julio de 2002 22:24
Para: twsapi@...
Asunto: Re: twsapi: automated login

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


To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .


Re: twsapi: Re: automated login

Michel
 

开云体育

Great! Thanks,
(This are not your real passwords I hope! ;)
Michel.

-----Mensaje original-----
De: tripack44 [mailto:no_reply@...]
Enviado el: miércoles, 03 de julio de 2002 5:08
Para: twsapi@...
Asunto: twsapi: Re: automated login

--- In twsapi@y..., Carl Erikson wrote:
> 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
>


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.


TraderGuard- Important Message

traderguard
 

I am honestly upset at some of the comments written about
TraderGuard. It seems as though instead of checking the program's
abilities and value, some are discussing irrelevant issues, such as
the size of the program, speculations of hidden trojans, and other
hidden agendas. Let me respond to some of those comments:

The demo version on the website is there to be tested and evaluated
for those interested. It does not need to be tested on NQ or ES for
people to find out if this is a usefull tool or worthless crap.

TraderGuard consumes resources because it's actually working to cover
your butt. Yes, it's a black box with no documentation BECASUE..as
you should already know by now, I haven't had time to do it. I was
looking for user feedback so the next version of the program would
include FAQ. Yes, it tries to overwrite OCX, but it in no way shape
or form affects the program's real time performance.

Enough with the unconstuctive criticisms. Now to the other side of
the coin. Thanks to all those who responded with enthusiasm,
complementing TG's features. Yes, I will make sure that you get the
new updates as I am making improvements. AS far as timing...it's
real time...no delays. I will make the buttons bigger if you really
want that. GE, ES, and NQ are not the only symbols...With the FULL
Version you can type in and trade any symbol you like as long as you
receive data via IB TWS. Yes, autosale will disable itself if you
uncheck the checkbox. There is no safe point of entry...it's up to
you to decide when you jump into a trade. I was not planning to write
the impossible. If I could do that, I would write a program to show a
chart of tomorrow today.

new link again


AMJ


Re: twsapi: Re: automated login

Michel
 

开云体育

I'll look at it... but as I explain in another post, I have some problems with this solution but need more time, perhaps I' m wrong in something.
Thanks.
?
Michel.

-----Mensaje original-----
De: kevin6502 [mailto:kevin6502@...]
Enviado el: miércoles, 03 de julio de 2002 5:07
Para: twsapi@...
Asunto: twsapi: Re: automated login

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


Re: twsapi: Re: automated login

Michel
 

开云体育

Seems a good reason to expain this problems...

-----Mensaje original-----
De: kgeis [mailto:kgeis@...]
Enviado el: miércoles, 03 de julio de 2002 3:52
Para: twsapi@...
Asunto: twsapi: Re: automated login

If you could keep TWS running 24/7 and login automatically, then IB
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" wrote:
> You are among a large group of users who would like to be able to do
> this, me being one of them...
>
> I don't know how...
>
> It really is anoying they don't give us a security server to pass
> through. Seems so archaic to have to have a TWS open for each account
> we log on to...