Orders that are pegged to the inside of the market

Imported from previous forum

[ original email was from Bernt Sanden - bernt.sanden@omgroup.com ]
Hi,

I want to place an order that is pegged to the inside of the market. I want the order to follow the inside price of the market.

Is it possible to use OrdType=Pegged and ExecInst=PrimaryPeg?

For a buy order i want to buy at the bid and for a sell order i want sell at the offer

Regards,

Bernt Sandén

[ original email was from Ryan Pierce - rpierce@taltrade.com ]
> I want to place an order that is pegged to the inside of the market. I want the order to follow the inside price of the market.
>
> Is it possible to use OrdType=Pegged and ExecInst=PrimaryPeg?
>
> For a buy order i want to buy at the bid and for a sell order i want sell at the offer

You are correct.