Re: twsapi: Re: To grozzie2:
Well, it's probably less painful to set up your own id server. Have one app that requests id's from tws and have your trading software request id's from the id server instead of tws.
Yes, it's
By
Nick <nickrbox@...>
·
#582
·
|
Re: To grozzie2:
timer
tws.
a
next
use,
been
By
bee_jay_61 <no_reply@...>
·
#580
·
|
Re: To grozzie2:
The real answer is to understand how to get id's allocated from tws.
Everybody is under the mistaken impression, the NextId callback is
the one to use, it's not. You use the request ids call, to
By
grozzie2
·
#579
·
|
Re: To grozzie2:
Maybe in this case the multimedia timer or a high-resolution timer
could help you.
By
bee_jay_61 <no_reply@...>
·
#578
·
|
AW: twsapi: Authomated Trading for TWS
Tradestation and Wealth-Lab
-----Ursprungliche Nachricht-----
Von: marwanco [mailto:marwanco@...]
Gesendet: Saturday, July 20, 2002 2:14 AM
An: twsapi@...
Betreff:
By
Marcus Jellinghaus
·
#577
·
|
Re: twsapi: Authomated Trading for TWS
I have a question:
Which system/software develops trading signals automatically in real
time?
Thank you
By
marwanco <marwanco@...>
·
#576
·
|
Re: OCA Orders
Here is what IB says in their user's guide about OCA orders:
---------
A One Cancels All (OCA) order is a combination of separate orders
that are worked in conjunction with one another in the
By
CarlErikson <carlerikson@...>
·
#575
·
|
I added a photo of my project in the photo section.
Well, I just finished the autostop portion of my app and got it up
and working fine on the Demo account. All the features are now good
to go.
Thanks to Scott for the examples that helped me get
By
m_c_a98 <no_reply@...>
·
#574
·
|
twsapi: Re: Newbie Help on Code !!
Right, this board REALLY works as intended. Thanks to Scott.
Larry
P.S.: I have already modified my project to handle multiple
simultaneous OCA orders. Next target is to include the order entry
By
larrysy.geo <larrysy@...>
·
#573
·
|
twsapi: Re: Newbie Help on Code !!
The board works....killer glad you got what you needed
The squeeky wheel gets the grease
Who'd u thunk?
Have a nice weekend
Scott
By
marinindextrader <marinindextrader@...>
·
#572
·
|
twsapi: Re: Newbie Help on Code !!
Dan, my problem is solved !! I have already uploaded the version
with OCA to the files section. Only does one OCA group at a time -
but already functional for me.
Thanks,
Larry
(i.e.
me
By
larrysy.geo <larrysy@...>
·
#571
·
|
Re: OCA Orders
Ok i just tried this with nq contracts, but it's impossible to force
a partial fill, so I tried it by modifying the size of the target
order manually. That does not automatically modify the size of
By
grozzie2
·
#570
·
|
Re: OCA Orders
Now that is good to know. We've not had much success in forcing
partials on exit orders, so, haven't been able to see that, therefore
we have played it safe and made our stops resize on thier
By
grozzie2
·
#569
·
|
OCA Orders
You can place OCA orders in the C++ socket version.
It is part of the Order structure that IB provides.
Also, the Java socket version allows OCA orders as
well. Looking at the Visual Basic
By
Carl Erikson <carlerikson@...>
·
#568
·
|
Re: To grozzie2:
That'll only work, if you dont have lots of orders going in on the
same tick. Since this application can literally generate orders by
the hundreds, and they often come in batches at the same time,
By
grozzie2
·
#567
·
|
Re: Newbie Help on Code !!
sending
is
public class Order {
..
..
// extended order fields
public String tif;
public String ocaGroup;
public String account;
}
If multiple orders are submitted each containing
By
skunktrader2001 <gdarke@...>
·
#566
·
|
To grozzie2:
I did the same in Delphi and I think to use the sockets directly
without wrapper classes or the ActiveX is the best way.
Order Id: I use GetTickCount.
Read my last posting.
By
bee_jay_61 <no_reply@...>
·
#565
·
|
Re: twsapi: Asset US format information
http://toolkit.taltrade.com/tql/Examples.html#Livequote_Example_2
Example 2 shows the syntax to request data for a list of symbols
Example 4 shows the syntax to request data for all symbols A*, B*
By
skunktrader2001 <gdarke@...>
·
#564
·
|
Re: twsapi: Re: Newbie Help on Code !!
Scott,
OCA is a property of the ocx. Set it before you place the order (i.e.
Tws1.oca = "1234").
.. Dan
PS. I sent you a private email about QCharts/QFeed. Can you help me
out?
By
Daniel Rosen <drosen@...>
·
#563
·
|
Re: Newbie Help on Code !!
sending
is
The oca group is one of the strings within the order
structure/object. I dont know about the ActiveX thing, but at the
lower level, within the order structures is a string for the oca
By
grozzie2
·
#562
·
|