OEC Application Programming Interface

CustomCompound.AddLeg Method 

Adds one more leg

public Void AddLeg(
   Contract Contract,
   OrderSide Side,
   Int32 Qty
);

Parameters

Contract
Contract of the leg
Side
Side of the leg
Qty
Quantity of the leg. It should be greater than zero

See Also

CustomCompound Class | OEC.API Namespace