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