Portfolio.HasPosition (Instrument, PositionSide, Double) Method
public bool HasPosition(
Instrument instrument,
PositionSide side,
double qty
)
This language is not supported or no code example is available.
public:
bool HasPosition(
Instrument^ instrument,
PositionSide side,
double qty
)
This language is not supported or no code example is available.
public function HasPosition(
instrument : Instrument,
side : PositionSide,
qty : double
) : boolean;
This language is not supported or no code example is available.
Parameters
- instrument
- Instrument
The instrument.
- side
- PositionSide
The side.
- qty
- double
The qty.
Return Value
bool
true
if the specified instrument has position; otherwise, false
.