--- In twslink@yahoogroups.com, "amit_dutt_2004" <amit_dutt@...> wrote:
hi,
this is a very special questions and normally needs only to make
some research at IB website.
http://www.interactivebrokers.com/php/apiUsersGuide/apiguide.htm
(always a good place to get information as TWSLink mostly uses
functions, attributes with similar names)
i guess, pegged orders are indicated by ordertype:
PEG MKT
PEG MID
(so like LMT,MKT)
the destination should be ISLAND.
so register contract for ISLAND.
if you need more parameter to be set for an order,
use
SET_ORDERVAL
i believe stockrangelower and stockrangeupper is also
used for pegged order.
>
> For Midpoint Match - you have to create a market data line using ISE as the
order destination
>
> How do you do that? In PLACE_ORDER there is no such field.
>
> Also for
>
> "Pegged to mid-point" ISLAND has to be the destination - how do you set that?
>
>
> An example would be great! I am still experimenting with your free software.
>
> Thanks
>